2023-01-05 10:27:50 -07:00

344 lines
300 KiB
JavaScript

/* Chartist.js 0.11.4
* Copyright © 2019 Gion Kunz
* Free to use under either the WTFPL license or the MIT license.
* https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-WTFPL
* https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-MIT
*/
!function (a, b) { "function" == typeof define && define.amd ? define("Chartist", [], function () { return a.Chartist = b() }) : "object" == typeof module && module.exports ? module.exports = b() : a.Chartist = b() }(this, function () {
var a = { version: "0.11.4" }; return function (a, b) { "use strict"; var c = a.window, d = a.document; b.namespaces = { svg: "http://www.w3.org/2000/svg", xmlns: "http://www.w3.org/2000/xmlns/", xhtml: "http://www.w3.org/1999/xhtml", xlink: "http://www.w3.org/1999/xlink", ct: "http://gionkunz.github.com/chartist-js/ct" }, b.noop = function (a) { return a }, b.alphaNumerate = function (a) { return String.fromCharCode(97 + a % 26) }, b.extend = function (a) { var c, d, e; for (a = a || {}, c = 1; c < arguments.length; c++) { d = arguments[c]; for (var f in d) e = d[f], "object" != typeof e || null === e || e instanceof Array ? a[f] = e : a[f] = b.extend(a[f], e) } return a }, b.replaceAll = function (a, b, c) { return a.replace(new RegExp(b, "g"), c) }, b.ensureUnit = function (a, b) { return "number" == typeof a && (a += b), a }, b.quantity = function (a) { if ("string" == typeof a) { var b = /^(\d+)\s*(.*)$/g.exec(a); return { value: +b[1], unit: b[2] || void 0 } } return { value: a } }, b.querySelector = function (a) { return a instanceof Node ? a : d.querySelector(a) }, b.times = function (a) { return Array.apply(null, new Array(a)) }, b.sum = function (a, b) { return a + (b ? b : 0) }, b.mapMultiply = function (a) { return function (b) { return b * a } }, b.mapAdd = function (a) { return function (b) { return b + a } }, b.serialMap = function (a, c) { var d = [], e = Math.max.apply(null, a.map(function (a) { return a.length })); return b.times(e).forEach(function (b, e) { var f = a.map(function (a) { return a[e] }); d[e] = c.apply(null, f) }), d }, b.roundWithPrecision = function (a, c) { var d = Math.pow(10, c || b.precision); return Math.round(a * d) / d }, b.precision = 8, b.escapingMap = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#039;" }, b.serialize = function (a) { return null === a || void 0 === a ? a : ("number" == typeof a ? a = "" + a : "object" == typeof a && (a = JSON.stringify({ data: a })), Object.keys(b.escapingMap).reduce(function (a, c) { return b.replaceAll(a, c, b.escapingMap[c]) }, a)) }, b.deserialize = function (a) { if ("string" != typeof a) return a; a = Object.keys(b.escapingMap).reduce(function (a, c) { return b.replaceAll(a, b.escapingMap[c], c) }, a); try { a = JSON.parse(a), a = void 0 !== a.data ? a.data : a } catch (c) { } return a }, b.createSvg = function (a, c, d, e) { var f; return c = c || "100%", d = d || "100%", Array.prototype.slice.call(a.querySelectorAll("svg")).filter(function (a) { return a.getAttributeNS(b.namespaces.xmlns, "ct") }).forEach(function (b) { a.removeChild(b) }), f = new b.Svg("svg").attr({ width: c, height: d }).addClass(e), f._node.style.width = c, f._node.style.height = d, a.appendChild(f._node), f }, b.normalizeData = function (a, c, d) { var e, f = { raw: a, normalized: {} }; return f.normalized.series = b.getDataArray({ series: a.series || [] }, c, d), e = f.normalized.series.every(function (a) { return a instanceof Array }) ? Math.max.apply(null, f.normalized.series.map(function (a) { return a.length })) : f.normalized.series.length, f.normalized.labels = (a.labels || []).slice(), Array.prototype.push.apply(f.normalized.labels, b.times(Math.max(0, e - f.normalized.labels.length)).map(function () { return "" })), c && b.reverseData(f.normalized), f }, b.safeHasProperty = function (a, b) { return null !== a && "object" == typeof a && a.hasOwnProperty(b) }, b.isDataHoleValue = function (a) { return null === a || void 0 === a || "number" == typeof a && isNaN(a) }, b.reverseData = function (a) { a.labels.reverse(), a.series.reverse(); for (var b = 0; b < a.series.length; b++)"object" == typeof a.series[b] && void 0 !== a.series[b].data ? a.series[b].data.reverse() : a.series[b] instanceof Array && a.series[b].reverse() }, b.getDataArray = function (a, c, d) { function e(a) { if (b.safeHasProperty(a, "value")) return e(a.value); if (b.safeHasProperty(a, "data")) return e(a.data); if (a instanceof Array) return a.map(e); if (!b.isDataHoleValue(a)) { if (d) { var c = {}; return "string" == typeof d ? c[d] = b.getNumberOrUndefined(a) : c.y = b.getNumberOrUndefined(a), c.x = a.hasOwnProperty("x") ? b.getNumberOrUndefined(a.x) : c.x, c.y = a.hasOwnProperty("y") ? b.getNumberOrUndefined(a.y) : c.y, c } return b.getNumberOrUndefined(a) } } return a.series.map(e) }, b.normalizePadding = function (a, b) { return b = b || 0, "number" == typeof a ? { top: a, right: a, bottom: a, left: a } : { top: "number" == typeof a.top ? a.top : b, right: "number" == typeof a.right ? a.right : b, bottom: "number" == typeof a.bottom ? a.bottom : b, left: "number" == typeof a.left ? a.left : b } }, b.getMetaData = function (a, b) { var c = a.data ? a.data[b] : a[b]; return c ? c.meta : void 0 }, b.orderOfMagnitude = function (a) { return Math.floor(Math.log(Math.abs(a)) / Math.LN10) }, b.projectLength = function (a, b, c) { return b / c.range * a }, b.getAvailableHeight = function (a, c) { return Math.max((b.quantity(c.height).value || a.height()) - (c.chartPadding.top + c.chartPadding.bottom) - c.axisX.offset, 0) }, b.getHighLow = function (a, c, d) { function e(a) { if (void 0 !== a) if (a instanceof Array) for (var b = 0; b < a.length; b++)e(a[b]); else { var c = d ? +a[d] : +a; g && c > f.high && (f.high = c), h && c < f.low && (f.low = c) } } c = b.extend({}, c, d ? c["axis" + d.toUpperCase()] : {}); var f = { high: void 0 === c.high ? -Number.MAX_VALUE : +c.high, low: void 0 === c.low ? Number.MAX_VALUE : +c.low }, g = void 0 === c.high, h = void 0 === c.low; return (g || h) && e(a), (c.referenceValue || 0 === c.referenceValue) && (f.high = Math.max(c.referenceValue, f.high), f.low = Math.min(c.referenceValue, f.low)), f.high <= f.low && (0 === f.low ? f.high = 1 : f.low < 0 ? f.high = 0 : f.high > 0 ? f.low = 0 : (f.high = 1, f.low = 0)), f }, b.isNumeric = function (a) { return null !== a && isFinite(a) }, b.isFalseyButZero = function (a) { return !a && 0 !== a }, b.getNumberOrUndefined = function (a) { return b.isNumeric(a) ? +a : void 0 }, b.isMultiValue = function (a) { return "object" == typeof a && ("x" in a || "y" in a) }, b.getMultiValue = function (a, c) { return b.isMultiValue(a) ? b.getNumberOrUndefined(a[c || "y"]) : b.getNumberOrUndefined(a) }, b.rho = function (a) { function b(a, c) { return a % c === 0 ? c : b(c, a % c) } function c(a) { return a * a + 1 } if (1 === a) return a; var d, e = 2, f = 2; if (a % 2 === 0) return 2; do e = c(e) % a, f = c(c(f)) % a, d = b(Math.abs(e - f), a); while (1 === d); return d }, b.getBounds = function (a, c, d, e) { function f(a, b) { return a === (a += b) && (a *= 1 + (b > 0 ? o : -o)), a } var g, h, i, j = 0, k = { high: c.high, low: c.low }; k.valueRange = k.high - k.low, k.oom = b.orderOfMagnitude(k.valueRange), k.step = Math.pow(10, k.oom), k.min = Math.floor(k.low / k.step) * k.step, k.max = Math.ceil(k.high / k.step) * k.step, k.range = k.max - k.min, k.numberOfSteps = Math.round(k.range / k.step); var l = b.projectLength(a, k.step, k), m = l < d, n = e ? b.rho(k.range) : 0; if (e && b.projectLength(a, 1, k) >= d) k.step = 1; else if (e && n < k.step && b.projectLength(a, n, k) >= d) k.step = n; else for (; ;) { if (m && b.projectLength(a, k.step, k) <= d) k.step *= 2; else { if (m || !(b.projectLength(a, k.step / 2, k) >= d)) break; if (k.step /= 2, e && k.step % 1 !== 0) { k.step *= 2; break } } if (j++ > 1e3) throw new Error("Exceeded maximum number of iterations while optimizing scale step!") } var o = 2.221e-16; for (k.step = Math.max(k.step, o), h = k.min, i = k.max; h + k.step <= k.low;)h = f(h, k.step); for (; i - k.step >= k.high;)i = f(i, -k.step); k.min = h, k.max = i, k.range = k.max - k.min; var p = []; for (g = k.min; g <= k.max; g = f(g, k.step)) { var q = b.roundWithPrecision(g); q !== p[p.length - 1] && p.push(q) } return k.values = p, k }, b.polarToCartesian = function (a, b, c, d) { var e = (d - 90) * Math.PI / 180; return { x: a + c * Math.cos(e), y: b + c * Math.sin(e) } }, b.createChartRect = function (a, c, d) { var e = !(!c.axisX && !c.axisY), f = e ? c.axisY.offset : 0, g = e ? c.axisX.offset : 0, h = a.width() || b.quantity(c.width).value || 0, i = a.height() || b.quantity(c.height).value || 0, j = b.normalizePadding(c.chartPadding, d); h = Math.max(h, f + j.left + j.right), i = Math.max(i, g + j.top + j.bottom); var k = { padding: j, width: function () { return this.x2 - this.x1 }, height: function () { return this.y1 - this.y2 } }; return e ? ("start" === c.axisX.position ? (k.y2 = j.top + g, k.y1 = Math.max(i - j.bottom, k.y2 + 1)) : (k.y2 = j.top, k.y1 = Math.max(i - j.bottom - g, k.y2 + 1)), "start" === c.axisY.position ? (k.x1 = j.left + f, k.x2 = Math.max(h - j.right, k.x1 + 1)) : (k.x1 = j.left, k.x2 = Math.max(h - j.right - f, k.x1 + 1))) : (k.x1 = j.left, k.x2 = Math.max(h - j.right, k.x1 + 1), k.y2 = j.top, k.y1 = Math.max(i - j.bottom, k.y2 + 1)), k }, b.createGrid = function (a, c, d, e, f, g, h, i) { var j = {}; j[d.units.pos + "1"] = a, j[d.units.pos + "2"] = a, j[d.counterUnits.pos + "1"] = e, j[d.counterUnits.pos + "2"] = e + f; var k = g.elem("line", j, h.join(" ")); i.emit("draw", b.extend({ type: "grid", axis: d, index: c, group: g, element: k }, j)) }, b.createGridBackground = function (a, b, c, d) { var e = a.elem("rect", { x: b.x1, y: b.y2, width: b.width(), height: b.height() }, c, !0); d.emit("draw", { type: "gridBackground", group: a, element: e }) }, b.createLabel = function (a, c, e, f, g, h, i, j, k, l, m) { var n, o = {}; if (o[g.units.pos] = a + i[g.units.pos], o[g.counterUnits.pos] = i[g.counterUnits.pos], o[g.units.len] = c, o[g.counterUnits.len] = Math.max(0, h - 10), l) { var p = d.createElement("span"); p.className = k.join(" "), p.setAttribute("xmlns", b.namespaces.xhtml), p.innerText = f[e], p.style[g.units.len] = Math.round(o[g.units.len]) + "px", p.style[g.counterUnits.len] = Math.round(o[g.counterUnits.len]) + "px", n = j.foreignObject(p, b.extend({ style: "overflow: visible;" }, o)) } else n = j.elem("text", o, k.join(" ")).text(f[e]); m.emit("draw", b.extend({ type: "label", axis: g, index: e, group: j, element: n, text: f[e] }, o)) }, b.getSeriesOption = function (a, b, c) { if (a.name && b.series && b.series[a.name]) { var d = b.series[a.name]; return d.hasOwnProperty(c) ? d[c] : b[c] } return b[c] }, b.optionsProvider = function (a, d, e) { function f(a) { var f = h; if (h = b.extend({}, j), d) for (i = 0; i < d.length; i++) { var g = c.matchMedia(d[i][0]); g.matches && (h = b.extend(h, d[i][1])) } e && a && e.emit("optionsChanged", { previousOptions: f, currentOptions: h }) } function g() { k.forEach(function (a) { a.removeListener(f) }) } var h, i, j = b.extend({}, a), k = []; if (!c.matchMedia) throw "window.matchMedia not found! Make sure you're using a polyfill."; if (d) for (i = 0; i < d.length; i++) { var l = c.matchMedia(d[i][0]); l.addListener(f), k.push(l) } return f(), { removeMediaQueryListeners: g, getCurrentOptions: function () { return b.extend({}, h) } } }, b.splitIntoSegments = function (a, c, d) { var e = { increasingX: !1, fillHoles: !1 }; d = b.extend({}, e, d); for (var f = [], g = !0, h = 0; h < a.length; h += 2)void 0 === b.getMultiValue(c[h / 2].value) ? d.fillHoles || (g = !0) : (d.increasingX && h >= 2 && a[h] <= a[h - 2] && (g = !0), g && (f.push({ pathCoordinates: [], valueData: [] }), g = !1), f[f.length - 1].pathCoordinates.push(a[h], a[h + 1]), f[f.length - 1].valueData.push(c[h / 2])); return f } }(this || global, a), function (a, b) { "use strict"; b.Interpolation = {}, b.Interpolation.none = function (a) { var c = { fillHoles: !1 }; return a = b.extend({}, c, a), function (c, d) { for (var e = new b.Svg.Path, f = !0, g = 0; g < c.length; g += 2) { var h = c[g], i = c[g + 1], j = d[g / 2]; void 0 !== b.getMultiValue(j.value) ? (f ? e.move(h, i, !1, j) : e.line(h, i, !1, j), f = !1) : a.fillHoles || (f = !0) } return e } }, b.Interpolation.simple = function (a) { var c = { divisor: 2, fillHoles: !1 }; a = b.extend({}, c, a); var d = 1 / Math.max(1, a.divisor); return function (c, e) { for (var f, g, h, i = new b.Svg.Path, j = 0; j < c.length; j += 2) { var k = c[j], l = c[j + 1], m = (k - f) * d, n = e[j / 2]; void 0 !== n.value ? (void 0 === h ? i.move(k, l, !1, n) : i.curve(f + m, g, k - m, l, k, l, !1, n), f = k, g = l, h = n) : a.fillHoles || (f = k = h = void 0) } return i } }, b.Interpolation.cardinal = function (a) { var c = { tension: 1, fillHoles: !1 }; a = b.extend({}, c, a); var d = Math.min(1, Math.max(0, a.tension)), e = 1 - d; return function f(c, g) { var h = b.splitIntoSegments(c, g, { fillHoles: a.fillHoles }); if (h.length) { if (h.length > 1) { var i = []; return h.forEach(function (a) { i.push(f(a.pathCoordinates, a.valueData)) }), b.Svg.Path.join(i) } if (c = h[0].pathCoordinates, g = h[0].valueData, c.length <= 4) return b.Interpolation.none()(c, g); for (var j, k = (new b.Svg.Path).move(c[0], c[1], !1, g[0]), l = 0, m = c.length; m - 2 * !j > l; l += 2) { var n = [{ x: +c[l - 2], y: +c[l - 1] }, { x: +c[l], y: +c[l + 1] }, { x: +c[l + 2], y: +c[l + 3] }, { x: +c[l + 4], y: +c[l + 5] }]; j ? l ? m - 4 === l ? n[3] = { x: +c[0], y: +c[1] } : m - 2 === l && (n[2] = { x: +c[0], y: +c[1] }, n[3] = { x: +c[2], y: +c[3] }) : n[0] = { x: +c[m - 2], y: +c[m - 1] } : m - 4 === l ? n[3] = n[2] : l || (n[0] = { x: +c[l], y: +c[l + 1] }), k.curve(d * (-n[0].x + 6 * n[1].x + n[2].x) / 6 + e * n[2].x, d * (-n[0].y + 6 * n[1].y + n[2].y) / 6 + e * n[2].y, d * (n[1].x + 6 * n[2].x - n[3].x) / 6 + e * n[2].x, d * (n[1].y + 6 * n[2].y - n[3].y) / 6 + e * n[2].y, n[2].x, n[2].y, !1, g[(l + 2) / 2]) } return k } return b.Interpolation.none()([]) } }, b.Interpolation.monotoneCubic = function (a) { var c = { fillHoles: !1 }; return a = b.extend({}, c, a), function d(c, e) { var f = b.splitIntoSegments(c, e, { fillHoles: a.fillHoles, increasingX: !0 }); if (f.length) { if (f.length > 1) { var g = []; return f.forEach(function (a) { g.push(d(a.pathCoordinates, a.valueData)) }), b.Svg.Path.join(g) } if (c = f[0].pathCoordinates, e = f[0].valueData, c.length <= 4) return b.Interpolation.none()(c, e); var h, i, j = [], k = [], l = c.length / 2, m = [], n = [], o = [], p = []; for (h = 0; h < l; h++)j[h] = c[2 * h], k[h] = c[2 * h + 1]; for (h = 0; h < l - 1; h++)o[h] = k[h + 1] - k[h], p[h] = j[h + 1] - j[h], n[h] = o[h] / p[h]; for (m[0] = n[0], m[l - 1] = n[l - 2], h = 1; h < l - 1; h++)0 === n[h] || 0 === n[h - 1] || n[h - 1] > 0 != n[h] > 0 ? m[h] = 0 : (m[h] = 3 * (p[h - 1] + p[h]) / ((2 * p[h] + p[h - 1]) / n[h - 1] + (p[h] + 2 * p[h - 1]) / n[h]), isFinite(m[h]) || (m[h] = 0)); for (i = (new b.Svg.Path).move(j[0], k[0], !1, e[0]), h = 0; h < l - 1; h++)i.curve(j[h] + p[h] / 3, k[h] + m[h] * p[h] / 3, j[h + 1] - p[h] / 3, k[h + 1] - m[h + 1] * p[h] / 3, j[h + 1], k[h + 1], !1, e[h + 1]); return i } return b.Interpolation.none()([]) } }, b.Interpolation.step = function (a) { var c = { postpone: !0, fillHoles: !1 }; return a = b.extend({}, c, a), function (c, d) { for (var e, f, g, h = new b.Svg.Path, i = 0; i < c.length; i += 2) { var j = c[i], k = c[i + 1], l = d[i / 2]; void 0 !== l.value ? (void 0 === g ? h.move(j, k, !1, l) : (a.postpone ? h.line(j, f, !1, g) : h.line(e, k, !1, l), h.line(j, k, !1, l)), e = j, f = k, g = l) : a.fillHoles || (e = f = g = void 0) } return h } } }(this || global, a), function (a, b) { "use strict"; b.EventEmitter = function () { function a(a, b) { d[a] = d[a] || [], d[a].push(b) } function b(a, b) { d[a] && (b ? (d[a].splice(d[a].indexOf(b), 1), 0 === d[a].length && delete d[a]) : delete d[a]) } function c(a, b) { d[a] && d[a].forEach(function (a) { a(b) }), d["*"] && d["*"].forEach(function (c) { c(a, b) }) } var d = []; return { addEventHandler: a, removeEventHandler: b, emit: c } } }(this || global, a), function (a, b) { "use strict"; function c(a) { var b = []; if (a.length) for (var c = 0; c < a.length; c++)b.push(a[c]); return b } function d(a, c) { var d = c || this.prototype || b.Class, e = Object.create(d); b.Class.cloneDefinitions(e, a); var f = function () { var a, c = e.constructor || function () { }; return a = this === b ? Object.create(e) : this, c.apply(a, Array.prototype.slice.call(arguments, 0)), a }; return f.prototype = e, f["super"] = d, f.extend = this.extend, f } function e() { var a = c(arguments), b = a[0]; return a.splice(1, a.length - 1).forEach(function (a) { Object.getOwnPropertyNames(a).forEach(function (c) { delete b[c], Object.defineProperty(b, c, Object.getOwnPropertyDescriptor(a, c)) }) }), b } b.Class = { extend: d, cloneDefinitions: e } }(this || global, a), function (a, b) { "use strict"; function c(a, c, d) { return a && (this.data = a || {}, this.data.labels = this.data.labels || [], this.data.series = this.data.series || [], this.eventEmitter.emit("data", { type: "update", data: this.data })), c && (this.options = b.extend({}, d ? this.options : this.defaultOptions, c), this.initializeTimeoutId || (this.optionsProvider.removeMediaQueryListeners(), this.optionsProvider = b.optionsProvider(this.options, this.responsiveOptions, this.eventEmitter))), this.initializeTimeoutId || this.createChart(this.optionsProvider.getCurrentOptions()), this } function d() { return this.initializeTimeoutId ? i.clearTimeout(this.initializeTimeoutId) : (i.removeEventListener("resize", this.resizeListener), this.optionsProvider.removeMediaQueryListeners()), this } function e(a, b) { return this.eventEmitter.addEventHandler(a, b), this } function f(a, b) { return this.eventEmitter.removeEventHandler(a, b), this } function g() { i.addEventListener("resize", this.resizeListener), this.optionsProvider = b.optionsProvider(this.options, this.responsiveOptions, this.eventEmitter), this.eventEmitter.addEventHandler("optionsChanged", function () { this.update() }.bind(this)), this.options.plugins && this.options.plugins.forEach(function (a) { a instanceof Array ? a[0](this, a[1]) : a(this) }.bind(this)), this.eventEmitter.emit("data", { type: "initial", data: this.data }), this.createChart(this.optionsProvider.getCurrentOptions()), this.initializeTimeoutId = void 0 } function h(a, c, d, e, f) { this.container = b.querySelector(a), this.data = c || {}, this.data.labels = this.data.labels || [], this.data.series = this.data.series || [], this.defaultOptions = d, this.options = e, this.responsiveOptions = f, this.eventEmitter = b.EventEmitter(), this.supportsForeignObject = b.Svg.isSupported("Extensibility"), this.supportsAnimations = b.Svg.isSupported("AnimationEventsAttribute"), this.resizeListener = function () { this.update() }.bind(this), this.container && (this.container.__chartist__ && this.container.__chartist__.detach(), this.container.__chartist__ = this), this.initializeTimeoutId = setTimeout(g.bind(this), 0) } var i = a.window; b.Base = b.Class.extend({ constructor: h, optionsProvider: void 0, container: void 0, svg: void 0, eventEmitter: void 0, createChart: function () { throw new Error("Base chart type can't be instantiated!") }, update: c, detach: d, on: e, off: f, version: b.version, supportsForeignObject: !1 }) }(this || global, a), function (a, b) { "use strict"; function c(a, c, d, e, f) { a instanceof Element ? this._node = a : (this._node = y.createElementNS(b.namespaces.svg, a), "svg" === a && this.attr({ "xmlns:ct": b.namespaces.ct })), c && this.attr(c), d && this.addClass(d), e && (f && e._node.firstChild ? e._node.insertBefore(this._node, e._node.firstChild) : e._node.appendChild(this._node)) } function d(a, c) { return "string" == typeof a ? c ? this._node.getAttributeNS(c, a) : this._node.getAttribute(a) : (Object.keys(a).forEach(function (c) { if (void 0 !== a[c]) if (c.indexOf(":") !== -1) { var d = c.split(":"); this._node.setAttributeNS(b.namespaces[d[0]], c, a[c]) } else this._node.setAttribute(c, a[c]) }.bind(this)), this) } function e(a, c, d, e) { return new b.Svg(a, c, d, this, e) } function f() { return this._node.parentNode instanceof SVGElement ? new b.Svg(this._node.parentNode) : null } function g() { for (var a = this._node; "svg" !== a.nodeName;)a = a.parentNode; return new b.Svg(a) } function h(a) { var c = this._node.querySelector(a); return c ? new b.Svg(c) : null } function i(a) { var c = this._node.querySelectorAll(a); return c.length ? new b.Svg.List(c) : null } function j() { return this._node } function k(a, c, d, e) { if ("string" == typeof a) { var f = y.createElement("div"); f.innerHTML = a, a = f.firstChild } a.setAttribute("xmlns", b.namespaces.xmlns); var g = this.elem("foreignObject", c, d, e); return g._node.appendChild(a), g } function l(a) { return this._node.appendChild(y.createTextNode(a)), this } function m() { for (; this._node.firstChild;)this._node.removeChild(this._node.firstChild); return this } function n() { return this._node.parentNode.removeChild(this._node), this.parent() } function o(a) { return this._node.parentNode.replaceChild(a._node, this._node), a } function p(a, b) { return b && this._node.firstChild ? this._node.insertBefore(a._node, this._node.firstChild) : this._node.appendChild(a._node), this } function q() { return this._node.getAttribute("class") ? this._node.getAttribute("class").trim().split(/\s+/) : [] } function r(a) { return this._node.setAttribute("class", this.classes(this._node).concat(a.trim().split(/\s+/)).filter(function (a, b, c) { return c.indexOf(a) === b }).join(" ")), this } function s(a) { var b = a.trim().split(/\s+/); return this._node.setAttribute("class", this.classes(this._node).filter(function (a) { return b.indexOf(a) === -1 }).join(" ")), this } function t() { return this._node.setAttribute("class", ""), this } function u() { return this._node.getBoundingClientRect().height } function v() { return this._node.getBoundingClientRect().width } function w(a, c, d) { return void 0 === c && (c = !0), Object.keys(a).forEach(function (e) { function f(a, c) { var f, g, h, i = {}; a.easing && (h = a.easing instanceof Array ? a.easing : b.Svg.Easing[a.easing], delete a.easing), a.begin = b.ensureUnit(a.begin, "ms"), a.dur = b.ensureUnit(a.dur, "ms"), h && (a.calcMode = "spline", a.keySplines = h.join(" "), a.keyTimes = "0;1"), c && (a.fill = "freeze", i[e] = a.from, this.attr(i), g = b.quantity(a.begin || 0).value, a.begin = "indefinite"), f = this.elem("animate", b.extend({ attributeName: e }, a)), c && setTimeout(function () { try { f._node.beginElement() } catch (b) { i[e] = a.to, this.attr(i), f.remove() } }.bind(this), g), d && f._node.addEventListener("beginEvent", function () { d.emit("animationBegin", { element: this, animate: f._node, params: a }) }.bind(this)), f._node.addEventListener("endEvent", function () { d && d.emit("animationEnd", { element: this, animate: f._node, params: a }), c && (i[e] = a.to, this.attr(i), f.remove()) }.bind(this)) } a[e] instanceof Array ? a[e].forEach(function (a) { f.bind(this)(a, !1) }.bind(this)) : f.bind(this)(a[e], c) }.bind(this)), this } function x(a) { var c = this; this.svgElements = []; for (var d = 0; d < a.length; d++)this.svgElements.push(new b.Svg(a[d])); Object.keys(b.Svg.prototype).filter(function (a) { return ["constructor", "parent", "querySelector", "querySelectorAll", "replace", "append", "classes", "height", "width"].indexOf(a) === -1 }).forEach(function (a) { c[a] = function () { var d = Array.prototype.slice.call(arguments, 0); return c.svgElements.forEach(function (c) { b.Svg.prototype[a].apply(c, d) }), c } }) } var y = a.document; b.Svg = b.Class.extend({ constructor: c, attr: d, elem: e, parent: f, root: g, querySelector: h, querySelectorAll: i, getNode: j, foreignObject: k, text: l, empty: m, remove: n, replace: o, append: p, classes: q, addClass: r, removeClass: s, removeAllClasses: t, height: u, width: v, animate: w }), b.Svg.isSupported = function (a) { return y.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#" + a, "1.1") }; var z = { easeInSine: [.47, 0, .745, .715], easeOutSine: [.39, .575, .565, 1], easeInOutSine: [.445, .05, .55, .95], easeInQuad: [.55, .085, .68, .53], easeOutQuad: [.25, .46, .45, .94], easeInOutQuad: [.455, .03, .515, .955], easeInCubic: [.55, .055, .675, .19], easeOutCubic: [.215, .61, .355, 1], easeInOutCubic: [.645, .045, .355, 1], easeInQuart: [.895, .03, .685, .22], easeOutQuart: [.165, .84, .44, 1], easeInOutQuart: [.77, 0, .175, 1], easeInQuint: [.755, .05, .855, .06], easeOutQuint: [.23, 1, .32, 1], easeInOutQuint: [.86, 0, .07, 1], easeInExpo: [.95, .05, .795, .035], easeOutExpo: [.19, 1, .22, 1], easeInOutExpo: [1, 0, 0, 1], easeInCirc: [.6, .04, .98, .335], easeOutCirc: [.075, .82, .165, 1], easeInOutCirc: [.785, .135, .15, .86], easeInBack: [.6, -.28, .735, .045], easeOutBack: [.175, .885, .32, 1.275], easeInOutBack: [.68, -.55, .265, 1.55] }; b.Svg.Easing = z, b.Svg.List = b.Class.extend({ constructor: x }) }(this || global, a), function (a, b) { "use strict"; function c(a, c, d, e, f, g) { var h = b.extend({ command: f ? a.toLowerCase() : a.toUpperCase() }, c, g ? { data: g } : {}); d.splice(e, 0, h) } function d(a, b) { a.forEach(function (c, d) { t[c.command.toLowerCase()].forEach(function (e, f) { b(c, e, d, f, a) }) }) } function e(a, c) { this.pathElements = [], this.pos = 0, this.close = a, this.options = b.extend({}, u, c) } function f(a) { return void 0 !== a ? (this.pos = Math.max(0, Math.min(this.pathElements.length, a)), this) : this.pos } function g(a) { return this.pathElements.splice(this.pos, a), this } function h(a, b, d, e) { return c("M", { x: +a, y: +b }, this.pathElements, this.pos++, d, e), this } function i(a, b, d, e) { return c("L", { x: +a, y: +b }, this.pathElements, this.pos++, d, e), this } function j(a, b, d, e, f, g, h, i) { return c("C", { x1: +a, y1: +b, x2: +d, y2: +e, x: +f, y: +g }, this.pathElements, this.pos++, h, i), this } function k(a, b, d, e, f, g, h, i, j) { return c("A", { rx: +a, ry: +b, xAr: +d, lAf: +e, sf: +f, x: +g, y: +h }, this.pathElements, this.pos++, i, j), this } function l(a) { var c = a.replace(/([A-Za-z])([0-9])/g, "$1 $2").replace(/([0-9])([A-Za-z])/g, "$1 $2").split(/[\s,]+/).reduce(function (a, b) { return b.match(/[A-Za-z]/) && a.push([]), a[a.length - 1].push(b), a }, []); "Z" === c[c.length - 1][0].toUpperCase() && c.pop(); var d = c.map(function (a) { var c = a.shift(), d = t[c.toLowerCase()]; return b.extend({ command: c }, d.reduce(function (b, c, d) { return b[c] = +a[d], b }, {})) }), e = [this.pos, 0]; return Array.prototype.push.apply(e, d), Array.prototype.splice.apply(this.pathElements, e), this.pos += d.length, this } function m() { var a = Math.pow(10, this.options.accuracy); return this.pathElements.reduce(function (b, c) { var d = t[c.command.toLowerCase()].map(function (b) { return this.options.accuracy ? Math.round(c[b] * a) / a : c[b] }.bind(this)); return b + c.command + d.join(",") }.bind(this), "") + (this.close ? "Z" : "") } function n(a, b) { return d(this.pathElements, function (c, d) { c[d] *= "x" === d[0] ? a : b }), this } function o(a, b) { return d(this.pathElements, function (c, d) { c[d] += "x" === d[0] ? a : b }), this } function p(a) { return d(this.pathElements, function (b, c, d, e, f) { var g = a(b, c, d, e, f); (g || 0 === g) && (b[c] = g) }), this } function q(a) { var c = new b.Svg.Path(a || this.close); return c.pos = this.pos, c.pathElements = this.pathElements.slice().map(function (a) { return b.extend({}, a) }), c.options = b.extend({}, this.options), c } function r(a) { var c = [new b.Svg.Path]; return this.pathElements.forEach(function (d) { d.command === a.toUpperCase() && 0 !== c[c.length - 1].pathElements.length && c.push(new b.Svg.Path), c[c.length - 1].pathElements.push(d) }), c } function s(a, c, d) { for (var e = new b.Svg.Path(c, d), f = 0; f < a.length; f++)for (var g = a[f], h = 0; h < g.pathElements.length; h++)e.pathElements.push(g.pathElements[h]); return e } var t = { m: ["x", "y"], l: ["x", "y"], c: ["x1", "y1", "x2", "y2", "x", "y"], a: ["rx", "ry", "xAr", "lAf", "sf", "x", "y"] }, u = { accuracy: 3 }; b.Svg.Path = b.Class.extend({ constructor: e, position: f, remove: g, move: h, line: i, curve: j, arc: k, scale: n, translate: o, transform: p, parse: l, stringify: m, clone: q, splitByCommand: r }), b.Svg.Path.elementDescriptions = t, b.Svg.Path.join = s }(this || global, a), function (a, b) { "use strict"; function c(a, b, c, d) { this.units = a, this.counterUnits = a === e.x ? e.y : e.x, this.chartRect = b, this.axisLength = b[a.rectEnd] - b[a.rectStart], this.gridOffset = b[a.rectOffset], this.ticks = c, this.options = d } function d(a, c, d, e, f) { var g = e["axis" + this.units.pos.toUpperCase()], h = this.ticks.map(this.projectValue.bind(this)), i = this.ticks.map(g.labelInterpolationFnc); h.forEach(function (j, k) { var l, m = { x: 0, y: 0 }; l = h[k + 1] ? h[k + 1] - j : Math.max(this.axisLength - j, 30), b.isFalseyButZero(i[k]) && "" !== i[k] || ("x" === this.units.pos ? (j = this.chartRect.x1 + j, m.x = e.axisX.labelOffset.x, "start" === e.axisX.position ? m.y = this.chartRect.padding.top + e.axisX.labelOffset.y + (d ? 5 : 20) : m.y = this.chartRect.y1 + e.axisX.labelOffset.y + (d ? 5 : 20)) : (j = this.chartRect.y1 - j, m.y = e.axisY.labelOffset.y - (d ? l : 0), "start" === e.axisY.position ? m.x = d ? this.chartRect.padding.left + e.axisY.labelOffset.x : this.chartRect.x1 - 10 : m.x = this.chartRect.x2 + e.axisY.labelOffset.x + 10), g.showGrid && b.createGrid(j, k, this, this.gridOffset, this.chartRect[this.counterUnits.len](), a, [e.classNames.grid, e.classNames[this.units.dir]], f), g.showLabel && b.createLabel(j, l, k, i, this, g.offset, m, c, [e.classNames.label, e.classNames[this.units.dir], "start" === g.position ? e.classNames[g.position] : e.classNames.end], d, f)) }.bind(this)) } var e = (a.window, a.document, { x: { pos: "x", len: "width", dir: "horizontal", rectStart: "x1", rectEnd: "x2", rectOffset: "y2" }, y: { pos: "y", len: "height", dir: "vertical", rectStart: "y2", rectEnd: "y1", rectOffset: "x1" } }); b.Axis = b.Class.extend({ constructor: c, createGridAndLabels: d, projectValue: function (a, b, c) { throw new Error("Base axis can't be instantiated!") } }), b.Axis.units = e }(this || global, a), function (a, b) { "use strict"; function c(a, c, d, e) { var f = e.highLow || b.getHighLow(c, e, a.pos); this.bounds = b.getBounds(d[a.rectEnd] - d[a.rectStart], f, e.scaleMinSpace || 20, e.onlyInteger), this.range = { min: this.bounds.min, max: this.bounds.max }, b.AutoScaleAxis["super"].constructor.call(this, a, d, this.bounds.values, e) } function d(a) { return this.axisLength * (+b.getMultiValue(a, this.units.pos) - this.bounds.min) / this.bounds.range } a.window, a.document; b.AutoScaleAxis = b.Axis.extend({ constructor: c, projectValue: d }) }(this || global, a), function (a, b) { "use strict"; function c(a, c, d, e) { var f = e.highLow || b.getHighLow(c, e, a.pos); this.divisor = e.divisor || 1, this.ticks = e.ticks || b.times(this.divisor).map(function (a, b) { return f.low + (f.high - f.low) / this.divisor * b }.bind(this)), this.ticks.sort(function (a, b) { return a - b }), this.range = { min: f.low, max: f.high }, b.FixedScaleAxis["super"].constructor.call(this, a, d, this.ticks, e), this.stepLength = this.axisLength / this.divisor } function d(a) { return this.axisLength * (+b.getMultiValue(a, this.units.pos) - this.range.min) / (this.range.max - this.range.min) } a.window, a.document; b.FixedScaleAxis = b.Axis.extend({ constructor: c, projectValue: d }) }(this || global, a), function (a, b) { "use strict"; function c(a, c, d, e) { b.StepAxis["super"].constructor.call(this, a, d, e.ticks, e); var f = Math.max(1, e.ticks.length - (e.stretch ? 1 : 0)); this.stepLength = this.axisLength / f } function d(a, b) { return this.stepLength * b } a.window, a.document; b.StepAxis = b.Axis.extend({ constructor: c, projectValue: d }) }(this || global, a), function (a, b) { "use strict"; function c(a) { var c = b.normalizeData(this.data, a.reverseData, !0); this.svg = b.createSvg(this.container, a.width, a.height, a.classNames.chart); var d, f, g = this.svg.elem("g").addClass(a.classNames.gridGroup), h = this.svg.elem("g"), i = this.svg.elem("g").addClass(a.classNames.labelGroup), j = b.createChartRect(this.svg, a, e.padding); d = void 0 === a.axisX.type ? new b.StepAxis(b.Axis.units.x, c.normalized.series, j, b.extend({}, a.axisX, { ticks: c.normalized.labels, stretch: a.fullWidth })) : a.axisX.type.call(b, b.Axis.units.x, c.normalized.series, j, a.axisX), f = void 0 === a.axisY.type ? new b.AutoScaleAxis(b.Axis.units.y, c.normalized.series, j, b.extend({}, a.axisY, { high: b.isNumeric(a.high) ? a.high : a.axisY.high, low: b.isNumeric(a.low) ? a.low : a.axisY.low })) : a.axisY.type.call(b, b.Axis.units.y, c.normalized.series, j, a.axisY), d.createGridAndLabels(g, i, this.supportsForeignObject, a, this.eventEmitter), f.createGridAndLabels(g, i, this.supportsForeignObject, a, this.eventEmitter), a.showGridBackground && b.createGridBackground(g, j, a.classNames.gridBackground, this.eventEmitter), c.raw.series.forEach(function (e, g) { var i = h.elem("g"); i.attr({ "ct:series-name": e.name, "ct:meta": b.serialize(e.meta) }), i.addClass([a.classNames.series, e.className || a.classNames.series + "-" + b.alphaNumerate(g)].join(" ")); var k = [], l = []; c.normalized.series[g].forEach(function (a, h) { var i = { x: j.x1 + d.projectValue(a, h, c.normalized.series[g]), y: j.y1 - f.projectValue(a, h, c.normalized.series[g]) }; k.push(i.x, i.y), l.push({ value: a, valueIndex: h, meta: b.getMetaData(e, h) }) }.bind(this)); var m = { lineSmooth: b.getSeriesOption(e, a, "lineSmooth"), showPoint: b.getSeriesOption(e, a, "showPoint"), showLine: b.getSeriesOption(e, a, "showLine"), showArea: b.getSeriesOption(e, a, "showArea"), areaBase: b.getSeriesOption(e, a, "areaBase") }, n = "function" == typeof m.lineSmooth ? m.lineSmooth : m.lineSmooth ? b.Interpolation.monotoneCubic() : b.Interpolation.none(), o = n(k, l); if (m.showPoint && o.pathElements.forEach(function (c) { var h = i.elem("line", { x1: c.x, y1: c.y, x2: c.x + .01, y2: c.y }, a.classNames.point).attr({ "ct:value": [c.data.value.x, c.data.value.y].filter(b.isNumeric).join(","), "ct:meta": b.serialize(c.data.meta) }); this.eventEmitter.emit("draw", { type: "point", value: c.data.value, index: c.data.valueIndex, meta: c.data.meta, series: e, seriesIndex: g, axisX: d, axisY: f, group: i, element: h, x: c.x, y: c.y }) }.bind(this)), m.showLine) { var p = i.elem("path", { d: o.stringify() }, a.classNames.line, !0); this.eventEmitter.emit("draw", { type: "line", values: c.normalized.series[g], path: o.clone(), chartRect: j, index: g, series: e, seriesIndex: g, seriesMeta: e.meta, axisX: d, axisY: f, group: i, element: p }) } if (m.showArea && f.range) { var q = Math.max(Math.min(m.areaBase, f.range.max), f.range.min), r = j.y1 - f.projectValue(q); o.splitByCommand("M").filter(function (a) { return a.pathElements.length > 1 }).map(function (a) { var b = a.pathElements[0], c = a.pathElements[a.pathElements.length - 1]; return a.clone(!0).position(0).remove(1).move(b.x, r).line(b.x, b.y).position(a.pathElements.length + 1).line(c.x, r) }).forEach(function (b) { var h = i.elem("path", { d: b.stringify() }, a.classNames.area, !0); this.eventEmitter.emit("draw", { type: "area", values: c.normalized.series[g], path: b.clone(), series: e, seriesIndex: g, axisX: d, axisY: f, chartRect: j, index: g, group: i, element: h }) }.bind(this)) } }.bind(this)), this.eventEmitter.emit("created", { bounds: f.bounds, chartRect: j, axisX: d, axisY: f, svg: this.svg, options: a }) } function d(a, c, d, f) { b.Line["super"].constructor.call(this, a, c, e, b.extend({}, e, d), f) } var e = (a.window, a.document, { axisX: { offset: 30, position: "end", labelOffset: { x: 0, y: 0 }, showLabel: !0, showGrid: !0, labelInterpolationFnc: b.noop, type: void 0 }, axisY: { offset: 40, position: "start", labelOffset: { x: 0, y: 0 }, showLabel: !0, showGrid: !0, labelInterpolationFnc: b.noop, type: void 0, scaleMinSpace: 20, onlyInteger: !1 }, width: void 0, height: void 0, showLine: !0, showPoint: !0, showArea: !1, areaBase: 0, lineSmooth: !0, showGridBackground: !1, low: void 0, high: void 0, chartPadding: { top: 15, right: 15, bottom: 5, left: 10 }, fullWidth: !1, reverseData: !1, classNames: { chart: "ct-chart-line", label: "ct-label", labelGroup: "ct-labels", series: "ct-series", line: "ct-line", point: "ct-point", area: "ct-area", grid: "ct-grid", gridGroup: "ct-grids", gridBackground: "ct-grid-background", vertical: "ct-vertical", horizontal: "ct-horizontal", start: "ct-start", end: "ct-end" } }); b.Line = b.Base.extend({ constructor: d, createChart: c }) }(this || global, a), function (a, b) {
"use strict"; function c(a) {
var c, d; a.distributeSeries ? (c = b.normalizeData(this.data, a.reverseData, a.horizontalBars ? "x" : "y"), c.normalized.series = c.normalized.series.map(function (a) { return [a] })) : c = b.normalizeData(this.data, a.reverseData, a.horizontalBars ? "x" : "y"), this.svg = b.createSvg(this.container, a.width, a.height, a.classNames.chart + (a.horizontalBars ? " " + a.classNames.horizontalBars : "")); var f = this.svg.elem("g").addClass(a.classNames.gridGroup), g = this.svg.elem("g"), h = this.svg.elem("g").addClass(a.classNames.labelGroup);
if (a.stackBars && 0 !== c.normalized.series.length) { var i = b.serialMap(c.normalized.series, function () { return Array.prototype.slice.call(arguments).map(function (a) { return a }).reduce(function (a, b) { return { x: a.x + (b && b.x) || 0, y: a.y + (b && b.y) || 0 } }, { x: 0, y: 0 }) }); d = b.getHighLow([i], a, a.horizontalBars ? "x" : "y") } else d = b.getHighLow(c.normalized.series, a, a.horizontalBars ? "x" : "y"); d.high = +a.high || (0 === a.high ? 0 : d.high), d.low = +a.low || (0 === a.low ? 0 : d.low); var j, k, l, m, n, o = b.createChartRect(this.svg, a, e.padding); k = a.distributeSeries && a.stackBars ? c.normalized.labels.slice(0, 1) : c.normalized.labels, a.horizontalBars ? (j = m = void 0 === a.axisX.type ? new b.AutoScaleAxis(b.Axis.units.x, c.normalized.series, o, b.extend({}, a.axisX, { highLow: d, referenceValue: 0 })) : a.axisX.type.call(b, b.Axis.units.x, c.normalized.series, o, b.extend({}, a.axisX, { highLow: d, referenceValue: 0 })), l = n = void 0 === a.axisY.type ? new b.StepAxis(b.Axis.units.y, c.normalized.series, o, { ticks: k }) : a.axisY.type.call(b, b.Axis.units.y, c.normalized.series, o, a.axisY)) : (l = m = void 0 === a.axisX.type ? new b.StepAxis(b.Axis.units.x, c.normalized.series, o, { ticks: k }) : a.axisX.type.call(b, b.Axis.units.x, c.normalized.series, o, a.axisX), j = n = void 0 === a.axisY.type ? new b.AutoScaleAxis(b.Axis.units.y, c.normalized.series, o, b.extend({}, a.axisY, { highLow: d, referenceValue: 0 })) : a.axisY.type.call(b, b.Axis.units.y, c.normalized.series, o, b.extend({}, a.axisY, { highLow: d, referenceValue: 0 }))); var p = a.horizontalBars ? o.x1 + j.projectValue(0) : o.y1 - j.projectValue(0), q = []; l.createGridAndLabels(f, h, this.supportsForeignObject, a, this.eventEmitter), j.createGridAndLabels(f, h, this.supportsForeignObject, a, this.eventEmitter), a.showGridBackground && b.createGridBackground(f, o, a.classNames.gridBackground, this.eventEmitter), c.raw.series.forEach(function (d, e) { var f, h, i = e - (c.raw.series.length - 1) / 2; f = a.distributeSeries && !a.stackBars ? l.axisLength / c.normalized.series.length / 2 : a.distributeSeries && a.stackBars ? l.axisLength / 2 : l.axisLength / c.normalized.series[e].length / 2, h = g.elem("g"), h.attr({ "ct:series-name": d.name, "ct:meta": b.serialize(d.meta) }), h.addClass([a.classNames.series, d.className || a.classNames.series + "-" + b.alphaNumerate(e)].join(" ")), c.normalized.series[e].forEach(function (g, k) { var r, s, t, u; if (u = a.distributeSeries && !a.stackBars ? e : a.distributeSeries && a.stackBars ? 0 : k, r = a.horizontalBars ? { x: o.x1 + j.projectValue(g && g.x ? g.x : 0, k, c.normalized.series[e]), y: o.y1 - l.projectValue(g && g.y ? g.y : 0, u, c.normalized.series[e]) } : { x: o.x1 + l.projectValue(g && g.x ? g.x : 0, u, c.normalized.series[e]), y: o.y1 - j.projectValue(g && g.y ? g.y : 0, k, c.normalized.series[e]) }, l instanceof b.StepAxis && (l.options.stretch || (r[l.units.pos] += f * (a.horizontalBars ? -1 : 1)), r[l.units.pos] += a.stackBars || a.distributeSeries ? 0 : i * a.seriesBarDistance * (a.horizontalBars ? -1 : 1)), t = q[k] || p, q[k] = t - (p - r[l.counterUnits.pos]), void 0 !== g) { var v = {}; v[l.units.pos + "1"] = r[l.units.pos], v[l.units.pos + "2"] = r[l.units.pos], !a.stackBars || "accumulate" !== a.stackMode && a.stackMode ? (v[l.counterUnits.pos + "1"] = p, v[l.counterUnits.pos + "2"] = r[l.counterUnits.pos]) : (v[l.counterUnits.pos + "1"] = t, v[l.counterUnits.pos + "2"] = q[k]), v.x1 = Math.min(Math.max(v.x1, o.x1), o.x2), v.x2 = Math.min(Math.max(v.x2, o.x1), o.x2), v.y1 = Math.min(Math.max(v.y1, o.y2), o.y1), v.y2 = Math.min(Math.max(v.y2, o.y2), o.y1); var w = b.getMetaData(d, k); s = h.elem("line", v, a.classNames.bar).attr({ "ct:value": [g.x, g.y].filter(b.isNumeric).join(","), "ct:meta": b.serialize(w) }), this.eventEmitter.emit("draw", b.extend({ type: "bar", value: g, index: k, meta: w, series: d, seriesIndex: e, axisX: m, axisY: n, chartRect: o, group: h, element: s }, v)) } }.bind(this)) }.bind(this)), this.eventEmitter.emit("created", { bounds: j.bounds, chartRect: o, axisX: m, axisY: n, svg: this.svg, options: a })
} function d(a, c, d, f) { b.Bar["super"].constructor.call(this, a, c, e, b.extend({}, e, d), f) } var e = (a.window, a.document, { axisX: { offset: 30, position: "end", labelOffset: { x: 0, y: 0 }, showLabel: !0, showGrid: !0, labelInterpolationFnc: b.noop, scaleMinSpace: 30, onlyInteger: !1 }, axisY: { offset: 40, position: "start", labelOffset: { x: 0, y: 0 }, showLabel: !0, showGrid: !0, labelInterpolationFnc: b.noop, scaleMinSpace: 20, onlyInteger: !1 }, width: void 0, height: void 0, high: void 0, low: void 0, referenceValue: 0, chartPadding: { top: 15, right: 15, bottom: 5, left: 10 }, seriesBarDistance: 15, stackBars: !1, stackMode: "accumulate", horizontalBars: !1, distributeSeries: !1, reverseData: !1, showGridBackground: !1, classNames: { chart: "ct-chart-bar", horizontalBars: "ct-horizontal-bars", label: "ct-label", labelGroup: "ct-labels", series: "ct-series", bar: "ct-bar", grid: "ct-grid", gridGroup: "ct-grids", gridBackground: "ct-grid-background", vertical: "ct-vertical", horizontal: "ct-horizontal", start: "ct-start", end: "ct-end" } }); b.Bar = b.Base.extend({ constructor: d, createChart: c })
}(this || global, a), function (a, b) { "use strict"; function c(a, b, c) { var d = b.x > a.x; return d && "explode" === c || !d && "implode" === c ? "start" : d && "implode" === c || !d && "explode" === c ? "end" : "middle" } function d(a) { var d, e, g, h, i, j = b.normalizeData(this.data), k = [], l = a.startAngle; this.svg = b.createSvg(this.container, a.width, a.height, a.donut ? a.classNames.chartDonut : a.classNames.chartPie), e = b.createChartRect(this.svg, a, f.padding), g = Math.min(e.width() / 2, e.height() / 2), i = a.total || j.normalized.series.reduce(function (a, b) { return a + b }, 0); var m = b.quantity(a.donutWidth); "%" === m.unit && (m.value *= g / 100), g -= a.donut && !a.donutSolid ? m.value / 2 : 0, h = "outside" === a.labelPosition || a.donut && !a.donutSolid ? g : "center" === a.labelPosition ? 0 : a.donutSolid ? g - m.value / 2 : g / 2, h += a.labelOffset; var n = { x: e.x1 + e.width() / 2, y: e.y2 + e.height() / 2 }, o = 1 === j.raw.series.filter(function (a) { return a.hasOwnProperty("value") ? 0 !== a.value : 0 !== a }).length; j.raw.series.forEach(function (a, b) { k[b] = this.svg.elem("g", null, null) }.bind(this)), a.showLabel && (d = this.svg.elem("g", null, null)), j.raw.series.forEach(function (e, f) { if (0 !== j.normalized.series[f] || !a.ignoreEmptyValues) { k[f].attr({ "ct:series-name": e.name }), k[f].addClass([a.classNames.series, e.className || a.classNames.series + "-" + b.alphaNumerate(f)].join(" ")); var p = i > 0 ? l + j.normalized.series[f] / i * 360 : 0, q = Math.max(0, l - (0 === f || o ? 0 : .2)); p - q >= 359.99 && (p = q + 359.99); var r, s, t, u = b.polarToCartesian(n.x, n.y, g, q), v = b.polarToCartesian(n.x, n.y, g, p), w = new b.Svg.Path(!a.donut || a.donutSolid).move(v.x, v.y).arc(g, g, 0, p - l > 180, 0, u.x, u.y); a.donut ? a.donutSolid && (t = g - m.value, r = b.polarToCartesian(n.x, n.y, t, l - (0 === f || o ? 0 : .2)), s = b.polarToCartesian(n.x, n.y, t, p), w.line(r.x, r.y), w.arc(t, t, 0, p - l > 180, 1, s.x, s.y)) : w.line(n.x, n.y); var x = a.classNames.slicePie; a.donut && (x = a.classNames.sliceDonut, a.donutSolid && (x = a.classNames.sliceDonutSolid)); var y = k[f].elem("path", { d: w.stringify() }, x); if (y.attr({ "ct:value": j.normalized.series[f], "ct:meta": b.serialize(e.meta) }), a.donut && !a.donutSolid && (y._node.style.strokeWidth = m.value + "px"), this.eventEmitter.emit("draw", { type: "slice", value: j.normalized.series[f], totalDataSum: i, index: f, meta: e.meta, series: e, group: k[f], element: y, path: w.clone(), center: n, radius: g, startAngle: l, endAngle: p }), a.showLabel) { var z; z = 1 === j.raw.series.length ? { x: n.x, y: n.y } : b.polarToCartesian(n.x, n.y, h, l + (p - l) / 2); var A; A = j.normalized.labels && !b.isFalseyButZero(j.normalized.labels[f]) ? j.normalized.labels[f] : j.normalized.series[f]; var B = a.labelInterpolationFnc(A, f); if (B || 0 === B) { var C = d.elem("text", { dx: z.x, dy: z.y, "text-anchor": c(n, z, a.labelDirection) }, a.classNames.label).text("" + B); this.eventEmitter.emit("draw", { type: "label", index: f, group: d, element: C, text: "" + B, x: z.x, y: z.y }) } } l = p } }.bind(this)), this.eventEmitter.emit("created", { chartRect: e, svg: this.svg, options: a }) } function e(a, c, d, e) { b.Pie["super"].constructor.call(this, a, c, f, b.extend({}, f, d), e) } var f = (a.window, a.document, { width: void 0, height: void 0, chartPadding: 5, classNames: { chartPie: "ct-chart-pie", chartDonut: "ct-chart-donut", series: "ct-series", slicePie: "ct-slice-pie", sliceDonut: "ct-slice-donut", sliceDonutSolid: "ct-slice-donut-solid", label: "ct-label" }, startAngle: 0, total: void 0, donut: !1, donutSolid: !1, donutWidth: 60, showLabel: !0, labelOffset: 0, labelPosition: "inside", labelInterpolationFnc: b.noop, labelDirection: "neutral", reverseData: !1, ignoreEmptyValues: !1 }); b.Pie = b.Base.extend({ constructor: e, createChart: d, determineAnchorPosition: c }) }(this || global, a), a
});
//# sourceMappingURL=chartist.min.js.map
var i, l, selectedLine = null;
/* Navigate to hash without browser history entry */
var navigateToHash = function () {
if (window.history !== undefined && window.history.replaceState !== undefined) {
window.history.replaceState(undefined, undefined, this.getAttribute("href"));
}
};
var hashLinks = document.getElementsByClassName('navigatetohash');
for (i = 0, l = hashLinks.length; i < l; i++) {
hashLinks[i].addEventListener('click', navigateToHash);
}
/* Switch test method */
var switchTestMethod = function () {
var method = this.getAttribute("value");
console.log("Selected test method: " + method);
var lines, i, l, coverageData, lineAnalysis, cells;
lines = document.querySelectorAll('.lineAnalysis tr');
for (i = 1, l = lines.length; i < l; i++) {
coverageData = JSON.parse(lines[i].getAttribute('data-coverage').replace(/'/g, '"'));
lineAnalysis = coverageData[method];
cells = lines[i].querySelectorAll('td');
if (lineAnalysis === undefined) {
lineAnalysis = coverageData.AllTestMethods;
if (lineAnalysis.LVS !== 'gray') {
cells[0].setAttribute('class', 'red');
cells[1].innerText = cells[1].textContent = '0';
cells[4].setAttribute('class', 'lightred');
}
} else {
cells[0].setAttribute('class', lineAnalysis.LVS);
cells[1].innerText = cells[1].textContent = lineAnalysis.VC;
cells[4].setAttribute('class', 'light' + lineAnalysis.LVS);
}
}
};
var testMethods = document.getElementsByClassName('switchtestmethod');
for (i = 0, l = testMethods.length; i < l; i++) {
testMethods[i].addEventListener('change', switchTestMethod);
}
/* Highlight test method by line */
var toggleLine = function () {
if (selectedLine === this) {
selectedLine = null;
} else {
selectedLine = null;
unhighlightTestMethods();
highlightTestMethods.call(this);
selectedLine = this;
}
};
var highlightTestMethods = function () {
if (selectedLine !== null) {
return;
}
var lineAnalysis;
var coverageData = JSON.parse(this.getAttribute('data-coverage').replace(/'/g, '"'));
var testMethods = document.getElementsByClassName('testmethod');
for (i = 0, l = testMethods.length; i < l; i++) {
lineAnalysis = coverageData[testMethods[i].id];
if (lineAnalysis === undefined) {
testMethods[i].className = testMethods[i].className.replace(/\s*light.+/g, "");
} else {
testMethods[i].className += ' light' + lineAnalysis.LVS;
}
}
};
var unhighlightTestMethods = function () {
if (selectedLine !== null) {
return;
}
var testMethods = document.getElementsByClassName('testmethod');
for (i = 0, l = testMethods.length; i < l; i++) {
testMethods[i].className = testMethods[i].className.replace(/\s*light.+/g, "");
}
};
var coverableLines = document.getElementsByClassName('coverableline');
for (i = 0, l = coverableLines.length; i < l; i++) {
coverableLines[i].addEventListener('click', toggleLine);
coverableLines[i].addEventListener('mouseenter', highlightTestMethods);
coverableLines[i].addEventListener('mouseleave', unhighlightTestMethods);
}
/* History charts */
var renderChart = function (chart) {
// Remove current children (e.g. PNG placeholder)
while (chart.firstChild) {
chart.firstChild.remove();
}
var chartData = window[chart.getAttribute('data-data')];
var options = {
axisY: {
type: undefined,
onlyInteger: true
},
lineSmooth: false,
low: 0,
high: 100,
scaleMinSpace: 20,
onlyInteger: true,
fullWidth: true
};
var lineChart = new Chartist.Line(chart, {
labels: [],
series: chartData.series
}, options);
/* Zoom */
var zoomButtonDiv = document.createElement("div");
zoomButtonDiv.className = "toggleZoom";
var zoomButtonLink = document.createElement("a");
zoomButtonLink.setAttribute("href", "");
var zoomButtonText = document.createElement("i");
zoomButtonText.className = "icon-search-plus";
zoomButtonLink.appendChild(zoomButtonText);
zoomButtonDiv.appendChild(zoomButtonLink);
chart.appendChild(zoomButtonDiv);
zoomButtonDiv.addEventListener('click', function (event) {
event.preventDefault();
if (options.axisY.type === undefined) {
options.axisY.type = Chartist.AutoScaleAxis;
zoomButtonText.className = "icon-search-minus";
} else {
options.axisY.type = undefined;
zoomButtonText.className = "icon-search-plus";
}
lineChart.update(null, options);
});
var tooltip = document.createElement("div");
tooltip.className = "tooltip";
chart.appendChild(tooltip);
/* Tooltips */
var showToolTip = function () {
var index = this.getAttribute('ct:meta');
tooltip.innerHTML = chartData.tooltips[index];
tooltip.style.display = 'block';
};
var moveToolTip = function (event) {
var box = chart.getBoundingClientRect();
var left = event.pageX - box.left - window.pageXOffset;
var top = event.pageY - box.top - window.pageYOffset;
left = left + 20;
top = top - tooltip.offsetHeight / 2;
if (left + tooltip.offsetWidth > box.width) {
left -= tooltip.offsetWidth + 40;
}
if (top < 0) {
top = 0;
}
if (top + tooltip.offsetHeight > box.height) {
top = box.height - tooltip.offsetHeight;
}
tooltip.style.left = left + 'px';
tooltip.style.top = top + 'px';
};
var hideToolTip = function () {
tooltip.style.display = 'none';
};
chart.addEventListener('mousemove', moveToolTip);
lineChart.on('created', function () {
var chartPoints = chart.getElementsByClassName('ct-point');
for (i = 0, l = chartPoints.length; i < l; i++) {
chartPoints[i].addEventListener('mousemove', showToolTip);
chartPoints[i].addEventListener('mouseout', hideToolTip);
}
});
};
var charts = document.getElementsByClassName('historychart');
for (i = 0, l = charts.length; i < l; i++) {
renderChart(charts[i]);
}
var assemblies = [
{
"name": "ReportingServices.API",
"classes": [
{ "name": "Program", "rp": "ReportingServices.API_Program.html", "cl": 0, "ucl": 16, "cal": 16, "tl": 28, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 2, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.API.Controllers.FabTimeController", "rp": "ReportingServices.API_FabTimeController.html", "cl": 0, "ucl": 20, "cal": 20, "tl": 46, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.API.Controllers.ScrapeDBController", "rp": "ReportingServices.API_ScrapeDBController.html", "cl": 0, "ucl": 19, "cal": 19, "tl": 50, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
]},
{
"name": "ReportingServices.Shared",
"classes": [
{ "name": "ReportingServices.Shared.HelperClasses.ApiCaller", "rp": "ReportingServices.Shared_ApiCaller.html", "cl": 0, "ucl": 8, "cal": 8, "tl": 22, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.HelperClasses.APIHelperFunctions", "rp": "ReportingServices.Shared_APIHelperFunctions.html", "cl": 21, "ucl": 46, "cal": 67, "tl": 109, "ct": "LineCoverage", "cbm": "-", "cb": 4, "tb": 20, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.HelperClasses.DailyReportHelper", "rp": "ReportingServices.Shared_DailyReportHelper.html", "cl": 0, "ucl": 62, "cal": 62, "tl": 90, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 12, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.HelperClasses.JsonFileHandler", "rp": "ReportingServices.Shared_JsonFileHandler.html", "cl": 0, "ucl": 8, "cal": 8, "tl": 19, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.PlanningReport.ReactorPSNWORuns", "rp": "ReportingServices.Shared_ReactorPSNWORuns.html", "cl": 0, "ucl": 3, "cal": 3, "tl": 14, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.PlanningReport.WeeklyPartChanges", "rp": "ReportingServices.Shared_WeeklyPartChanges.html", "cl": 0, "ucl": 4, "cal": 4, "tl": 10, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.EquipmentStateByDay", "rp": "ReportingServices.Shared_EquipmentStateByDay.html", "cl": 0, "ucl": 2, "cal": 2, "tl": 12, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.ManualReportEntries", "rp": "ReportingServices.Shared_ManualReportEntries.html", "cl": 0, "ucl": 15, "cal": 15, "tl": 21, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.QuarterlyTargets", "rp": "ReportingServices.Shared_QuarterlyTargets.html", "cl": 0, "ucl": 5, "cal": 5, "tl": 18, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.RDS", "rp": "ReportingServices.Shared_RDS.html", "cl": 0, "ucl": 5, "cal": 5, "tl": 18, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.Reactor", "rp": "ReportingServices.Shared_Reactor.html", "cl": 0, "ucl": 4, "cal": 4, "tl": 16, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.ReactorOutsByDay", "rp": "ReportingServices.Shared_ReactorOutsByDay.html", "cl": 0, "ucl": 2, "cal": 2, "tl": 8, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.ReactorOutsByRDS", "rp": "ReportingServices.Shared_ReactorOutsByRDS.html", "cl": 0, "ucl": 3, "cal": 3, "tl": 14, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.ScrapByDay", "rp": "ReportingServices.Shared_ScrapByDay.html", "cl": 0, "ucl": 5, "cal": 5, "tl": 18, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.ToolStateCurrent", "rp": "ReportingServices.Shared_ToolStateCurrent.html", "cl": 0, "ucl": 8, "cal": 8, "tl": 25, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Models.ProductionReport.YieldInformation", "rp": "ReportingServices.Shared_YieldInformation.html", "cl": 0, "ucl": 2, "cal": 2, "tl": 17, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Repositories.FabTimeReportingRepository", "rp": "ReportingServices.Shared_FabTimeReportingRepository.html", "cl": 0, "ucl": 27, "cal": 27, "tl": 56, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 2, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.Repositories.ScrapeDatabaseRepository", "rp": "ReportingServices.Shared_ScrapeDatabaseRepository.html", "cl": 0, "ucl": 190, "cal": 190, "tl": 273, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 24, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.ViewModels.ProductionReport.DailyReport", "rp": "ReportingServices.Shared_DailyReport.html", "cl": 0, "ucl": 107, "cal": 107, "tl": 145, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 12, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.ViewModels.ProductionReport.SLLTool", "rp": "ReportingServices.Shared_SLLTool.html", "cl": 0, "ucl": 3, "cal": 3, "tl": 9, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.ViewModels.ProductionReport.ToolStateByType", "rp": "ReportingServices.Shared_ToolStateByType.html", "cl": 0, "ucl": 50, "cal": 50, "tl": 71, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 28, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.ViewModels.ProductionReport.UnloadTempsByDay", "rp": "ReportingServices.Shared_UnloadTempsByDay.html", "cl": 0, "ucl": 3, "cal": 3, "tl": 9, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.Shared.ViewModels.ProductionReport.YieldStatistics", "rp": "ReportingServices.Shared_YieldStatistics.html", "cl": 0, "ucl": 39, "cal": 39, "tl": 61, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 10, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
]},
{
"name": "ReportingServices.UI",
"classes": [
{ "name": "AspNetCoreGeneratedDocument.Views__ViewStart", "rp": "ReportingServices.UI_Views__ViewStart.html", "cl": 0, "ucl": 1, "cal": 1, "tl": 3, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "AspNetCoreGeneratedDocument.Views_Home_Index", "rp": "ReportingServices.UI_Views_Home_Index.html", "cl": 0, "ucl": 1, "cal": 1, "tl": 19, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 4, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "AspNetCoreGeneratedDocument.Views_PlanningReport_Index", "rp": "ReportingServices.UI_Views_PlanningReport_Index.html", "cl": 0, "ucl": 1, "cal": 1, "tl": 47, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 8, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "AspNetCoreGeneratedDocument.Views_PlanningReport_WeeklyPartChangesReport", "rp": "ReportingServices.UI_Views_PlanningReport_WeeklyPartChangesReport.html", "cl": 0, "ucl": 35, "cal": 35, "tl": 80, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 18, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "AspNetCoreGeneratedDocument.Views_ProductionReport_DailyReport", "rp": "ReportingServices.UI_Views_ProductionReport_DailyReport.html", "cl": 0, "ucl": 204, "cal": 204, "tl": 423, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 100, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "AspNetCoreGeneratedDocument.Views_ProductionReport_EditDailyReport", "rp": "ReportingServices.UI_Views_ProductionReport_EditDailyReport.html", "cl": 0, "ucl": 82, "cal": 82, "tl": 244, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 78, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "AspNetCoreGeneratedDocument.Views_ProductionReport_Index", "rp": "ReportingServices.UI_Views_ProductionReport_Index.html", "cl": 0, "ucl": 1, "cal": 1, "tl": 19, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 6, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "AspNetCoreGeneratedDocument.Views_Shared__DailyReportPartial", "rp": "ReportingServices.UI_Views_Shared__DailyReportPartial.html", "cl": 0, "ucl": 131, "cal": 131, "tl": 256, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 46, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "AspNetCoreGeneratedDocument.Views_Shared__Layout", "rp": "ReportingServices.UI_Views_Shared__Layout.html", "cl": 0, "ucl": 6, "cal": 6, "tl": 61, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 16, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "AspNetCoreGeneratedDocument.Views_Shared_Error", "rp": "ReportingServices.UI_Views_Shared_Error.html", "cl": 0, "ucl": 5, "cal": 5, "tl": 25, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 2, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "Program", "rp": "ReportingServices.UI_Program.html", "cl": 0, "ucl": 35, "cal": 35, "tl": 52, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 2, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.UI.Controllers.HomeController", "rp": "ReportingServices.UI_HomeController.html", "cl": 0, "ucl": 11, "cal": 11, "tl": 28, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 4, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.UI.Controllers.PlanningReportController", "rp": "ReportingServices.UI_PlanningReportController.html", "cl": 0, "ucl": 18, "cal": 18, "tl": 35, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.UI.Controllers.ProductionReportController", "rp": "ReportingServices.UI_ProductionReportController.html", "cl": 0, "ucl": 28, "cal": 28, "tl": 58, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
{ "name": "ReportingServices.UI.Models.ErrorViewModel", "rp": "ReportingServices.UI_ErrorViewModel.html", "cl": 0, "ucl": 2, "cal": 2, "tl": 9, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
]},
];
var historicCoverageExecutionTimes = [];
var riskHotspotMetrics = [
{ "name": "Cyclomatic complexity", "explanationUrl": "https://en.wikipedia.org/wiki/Cyclomatic_complexity" },
];
var riskHotspots = [
{
"assembly": "ReportingServices.UI", "class": "AspNetCoreGeneratedDocument.Views_ProductionReport_DailyReport", "reportPath": "ReportingServices.UI_Views_ProductionReport_DailyReport.html", "methodName": "ExecuteAsync()", "methodShortName": "ExecuteAsync()", "fileIndex": 0, "line": 3,
"metrics": [
{ "value": 100, "exceeded": true },
]},
{
"assembly": "ReportingServices.UI", "class": "AspNetCoreGeneratedDocument.Views_ProductionReport_EditDailyReport", "reportPath": "ReportingServices.UI_Views_ProductionReport_EditDailyReport.html", "methodName": "<ExecuteAsync()", "methodShortName": "<ExecuteAsync()", "fileIndex": 0, "line": 27,
"metrics": [
{ "value": 72, "exceeded": true },
]},
{
"assembly": "ReportingServices.UI", "class": "AspNetCoreGeneratedDocument.Views_Shared__DailyReportPartial", "reportPath": "ReportingServices.UI_Views_Shared__DailyReportPartial.html", "methodName": "ExecuteAsync()", "methodShortName": "ExecuteAsync()", "fileIndex": 0, "line": 4,
"metrics": [
{ "value": 46, "exceeded": true },
]},
];
var branchCoverageAvailable = true;
var methodCoverageAvailable = false;
var translations = {
'top': 'Top:',
'all': 'All',
'assembly': 'Assembly',
'class': 'Class',
'method': 'Method',
'lineCoverage': 'LineCoverage',
'noGrouping': 'No grouping',
'byAssembly': 'By assembly',
'byNamespace': 'By namespace, Level:',
'all': 'All',
'collapseAll': 'Collapse all',
'expandAll': 'Expand all',
'grouping': 'Grouping:',
'filter': 'Filter:',
'name': 'Name',
'covered': 'Covered',
'uncovered': 'Uncovered',
'coverable': 'Coverable',
'total': 'Total',
'coverage': 'Line coverage',
'branchCoverage': 'Branch coverage',
'methodCoverage': 'Method coverage',
'percentage': 'Percentage',
'history': 'Coverage History',
'compareHistory': 'Compare with:',
'date': 'Date',
'allChanges': 'All changes',
'lineCoverageIncreaseOnly': 'Line coverage: Increase only',
'lineCoverageDecreaseOnly': 'Line coverage: Decrease only',
'branchCoverageIncreaseOnly': 'Branch coverage: Increase only',
'branchCoverageDecreaseOnly': 'Branch coverage: Decrease only',
'methodCoverageIncreaseOnly': 'Method coverage: Increase only',
'methodCoverageDecreaseOnly': 'Method coverage: Decrease only'
};
(()=>{"use strict";var e,_={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var o=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],v=!0,t=0;t<r.length;t++)(!1&l||o>=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(v=!1,l<o&&(o=l));if(v){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,o,v]=l,s=0;if(f.some(d=>0!==e[d])){for(t in o)n.o(o,t)&&(n.m[t]=o[t]);if(v)var b=v(n)}for(u&&u(l);s<f.length;s++)n.o(e,c=f[s])&&e[c]&&e[c][0](),e[c]=0;return n.O(b)},r=self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[429],{435:(we,ue,he)=>{he(583)},583:()=>{!function(e){const n=e.performance;function i(I){n&&n.mark&&n.mark(I)}function r(I,p){n&&n.measure&&n.measure(I,p)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function u(I){return c+I}const f=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(f||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class I{constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new T(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(e.Promise!==J.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=I.current;for(;t.parent;)t=t.parent;return t}static get current(){return G.zone}static get currentTask(){return te}static __load_patch(t,o,g=!1){if(J.hasOwnProperty(t)){if(!g&&f)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const P="Zone:"+t;i(P),J[t]=o(e,I,le),r(P,P)}}get parent(){return this._parent}get name(){return this._name}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const g=this._zoneDelegate.intercept(this,t,o),P=this;return function(){return P.runGuarded(g,this,arguments,o)}}run(t,o,g,P){G={parent:G,zone:this};try{return this._zoneDelegate.invoke(this,t,o,g,P)}finally{G=G.parent}}runGuarded(t,o=null,g,P){G={parent:G,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,g,P)}catch(K){if(this._zoneDelegate.handleError(this,K))throw K}}finally{G=G.parent}}runTask(t,o,g){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");if(t.state===j&&(t.type===R||t.type===M))return;const P=t.state!=X;P&&t._transitionTo(X,O),t.runCount++;const K=te;te=t,G={parent:G,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,g)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==j&&t.state!==Y&&(t.type==R||t.data&&t.data.isPeriodic?P&&t._transitionTo(O,X):(t.runCount=0,this._updateTaskCount(t,-1),P&&t._transitionTo(j,X,j))),G=G.parent,te=K}}scheduleTask(t){if(t.zone&&t.zone!==this){let g=this;for(;g;){if(g===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);g=g.parent}}t._transitionTo(q,j);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(g){throw t._transitionTo(Y,q,j),this._zoneDelegate.handleError(this,g),g}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==q&&t._transitionTo(O,q),t}scheduleMicroTask(t,o,g,P){return this.scheduleTask(new m(v,t,o,g,P,void 0))}scheduleMacroTask(t,o,g,P,K){return this.scheduleTask(new m(M,t,o,g,P,K))}scheduleEventTask(t,o,g,P,K){return this.scheduleTask(new m(R,t,o,g,P,K))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");t._transitionTo(A,O,X);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(Y,A),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(j,A),t.runCount=0,t}_updateTaskCount(t,o){const g=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let P=0;P<g.length;P++)g[P]._updateTaskCount(t.type,o)}}return I.__symbol__=u,I})();const y={name:"",onHasTask:(I,p,t,o)=>I.hasTask(t,o),onScheduleTask:(I,p,t,o)=>I.scheduleTask(t,o),onInvokeTask:(I,p,t,o,g,P)=>I.invokeTask(t,o,g,P),onCancelTask:(I,p,t,o)=>I.cancelTask(t,o)};class T{constructor(p,t,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=p,this._parentDelegate=t,this._forkZS=o&&(o&&o.onFork?o:t._forkZS),this._forkDlgt=o&&(o.onFork?t:t._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:t._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:t._interceptZS),this._interceptDlgt=o&&(o.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:t._invokeZS),this._invokeDlgt=o&&(o.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:t._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:t._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:t._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:t._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const g=o&&o.onHasTask;(g||t&&t._hasTaskZS)&&(this._hasTaskZS=g?o:y,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=p,o.onScheduleTask||(this._scheduleTaskZS=y,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=y,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=y,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(p,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,p,t):new _(p,t)}intercept(p,t,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,p,t,o):t}invoke(p,t,o,g,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,p,t,o,g,P):t.apply(o,g)}handleError(p,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,p,t)}scheduleTask(p,t){let o=t;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,p,t),o||(o=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=v)throw new Error("Task is missing scheduleFn.");d(t)}return o}invokeTask(p,t,o,g){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,p,t,o,g):t.callback.apply(o,g)}cancelTask(p,t){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,p,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");o=t.cancelFn(t)}return o}hasTask(p,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,p,t)}catch(o){this.handleError(p,o)}}_updateTaskCount(p,t){const o=this._taskCounts,g=o[p],P=o[p]=g+t;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=g&&0!=P||this.hasTask(this.zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:p})}}class m{constructor(p,t,o,g,P,K){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=p,this.source=t,this.data=g,this.scheduleFn=P,this.cancelFn=K,!o)throw new Error("callback is not defined");this.callback=o;const l=this;this.invoke=p===R&&g&&g.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(p,t,o){p||(p=this),re++;try{return p.runCount++,p.zone.runTask(p,t,o)}finally{1==re&&L(),re--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(j,q)}_transitionTo(p,t,o){if(this._state!==t&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${p}', expecting state '${t}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=p,p==j&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const S=u("setTimeout"),D=u("Promise"),Z=u("then");let E,B=[],V=!1;function d(I){if(0===re&&0===B.length)if(E||e[D]&&(E=e[D].resolve(0)),E){let p=E[Z];p||(p=E.then),p.call(E,L)}else e[S](L,0);I&&B.push(I)}function L(){if(!V){for(V=!0;B.length;){const I=B;B=[];for(let p=0;p<I.length;p++){const t=I[p];try{t.zone.runTask(t,null,null)}catch(o){le.onUnhandledError(o)}}}le.microtaskDrainDone(),V=!1}}const z={name:"NO ZONE"},j="notScheduled",q="scheduling",O="scheduled",X="running",A="canceling",Y="unknown",v="microTask",M="macroTask",R="eventTask",J={},le={symbol:u,currentZoneFrame:()=>G,onUnhandledError:F,microtaskDrainDone:F,scheduleMicroTask:d,showUncaughtError:()=>!_[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:F,patchMethod:()=>F,bindArguments:()=>[],patchThen:()=>F,patchMacroTask:()=>F,patchEventPrototype:()=>F,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>F,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>F,wrapWithCurrentZone:()=>F,filterProperties:()=>[],attachOriginToPatched:()=>F,_redefineProperty:()=>F,patchCallbacks:()=>F};let G={parent:null,zone:new _(null,null)},te=null,re=0;function F(){}r("Zone","Zone"),e.Zone=_}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ue=Object.getOwnPropertyDescriptor,he=Object.defineProperty,de=Object.getPrototypeOf,Be=Object.create,ut=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ie=Zone.__symbol__(Oe),se="true",ie="false",ke=Zone.__symbol__("");function Le(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,r,c){return Zone.current.scheduleMacroTask(e,n,i,r,c)}const x=Zone.__symbol__,Pe=typeof window<"u",pe=Pe?window:void 0,$=Pe&&pe||"object"==typeof self&&self||global,ht=[null];function Ae(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Le(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&"[object process]"==={}.toString.call($.process),je=!Re&&!Ue&&!(!Pe||!pe.HTMLElement),We=typeof $.process<"u"&&"[object process]"==={}.toString.call($.process)&&!Ue&&!(!Pe||!pe.HTMLElement),Ce={},qe=function(e){if(!(e=e||$.event))return;let n=Ce[e.type];n||(n=Ce[e.type]=x("ON_PROPERTY"+e.type));const i=this||e.target||$,r=i[n];let c;if(je&&i===pe&&"error"===e.type){const u=e;c=r&&r.call(this,u.message,u.filename,u.lineno,u.colno,u.error),!0===c&&e.preventDefault()}else c=r&&r.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function Xe(e,n,i){let r=ue(e,n);if(!r&&i&&ue(i,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const c=x("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete r.writable,delete r.value;const u=r.get,f=r.set,_=n.substr(2);let y=Ce[_];y||(y=Ce[_]=x("ON_PROPERTY"+_)),r.set=function(T){let m=this;!m&&e===$&&(m=$),m&&(m[y]&&m.removeEventListener(_,qe),f&&f.apply(m,ht),"function"==typeof T?(m[y]=T,m.addEventListener(_,qe,!1)):m[y]=null)},r.get=function(){let T=this;if(!T&&e===$&&(T=$),!T)return null;const m=T[y];if(m)return m;if(u){let S=u&&u.call(this);if(S)return r.set.call(this,S),"function"==typeof T.removeAttribute&&T.removeAttribute(n),S}return null},he(e,n,r),e[c]=!0}function Ye(e,n,i){if(n)for(let r=0;r<n.length;r++)Xe(e,"on"+n[r],i);else{const r=[];for(const c in e)"on"==c.substr(0,2)&&r.push(c);for(let c=0;c<r.length;c++)Xe(e,r[c],i)}}const ne=x("originalInstance");function ve(e){const n=$[e];if(!n)return;$[x(e)]=n,$[e]=function(){const c=Ae(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ae($[e],n);const i=new n(function(){});let r;for(r in i)"XMLHttpRequest"===e&&"responseBlob"===r||function(c){"function"==typeof i[c]?$[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:he($[e].prototype,c,{set:function(u){"function"==typeof u?(this[ne][c]=Le(u,e+"."+c),ae(this[ne][c],u)):this[ne][c]=u},get:function(){return this[ne][c]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&($[e][r]=n[r])}function ce(e,n,i){let r=e;for(;r&&!r.hasOwnProperty(n);)r=de(r);!r&&e[n]&&(r=e);const c=x(n);let u=null;if(r&&(!(u=r[c])||!r.hasOwnProperty(c))&&(u=r[c]=r[n],Fe(r&&ue(r,n)))){const _=i(u,c,n);r[n]=function(){return _(this,arguments)},ae(r[n],u)}return u}function _t(e,n,i){let r=null;function c(u){const f=u.data;return f.args[f.cbIdx]=function(){u.invoke.apply(this,arguments)},r.apply(f.target,f.args),u}r=ce(e,n,u=>function(f,_){const y=i(f,_);return y.cbIdx>=0&&"function"==typeof _[y.cbIdx]?Me(y.name,_[y.cbIdx],y,c):u.apply(f,_)})}function ae(e,n){e[x("OriginalDelegate")]=n}let $e=!1,He=!1;function mt(){if($e)return He;$e=!0;try{const e=pe.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const r=Object.getOwnPropertyDescriptor,c=Object.defineProperty,f=i.symbol,_=[],y=!0===e[f("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=f("Promise"),m=f("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const s=l&&l.rejection;s?console.error("Unhandled Promise rejection:",s instanceof Error?s.message:s,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",s,s instanceof Error?s.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;_.length;){const l=_.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(s){Z(s)}}};const D=f("unhandledPromiseRejectionHandler");function Z(l){i.onUnhandledError(l);try{const s=n[D];"function"==typeof s&&s.call(this,l)}catch{}}function B(l){return l&&l.then}function V(l){return l}function E(l){return t.reject(l)}const d=f("state"),L=f("value"),z=f("finally"),j=f("parentPromiseValue"),q=f("parentPromiseState"),X=null,A=!0,Y=!1;function M(l,s){return a=>{try{G(l,s,a)}catch(h){G(l,!1,h)}}}const le=f("currentTaskTrace");function G(l,s,a){const h=function(){let l=!1;return function(a){return function(){l||(l=!0,a.apply(null,arguments))}}}();if(l===a)throw new TypeError("Promise resolved with itself");if(l[d]===X){let w=null;try{("object"==typeof a||"function"==typeof a)&&(w=a&&a.then)}catch(C){return h(()=>{G(l,!1,C)})(),l}if(s!==Y&&a instanceof t&&a.hasOwnProperty(d)&&a.hasOwnProperty(L)&&a[d]!==X)re(a),G(l,a[d],a[L]);else if(s!==Y&&"function"==typeof w)try{w.call(a,h(M(l,s)),h(M(l,!1)))}catch(C){h(()=>{G(l,!1,C)})()}else{l[d]=s;const C=l[L];if(l[L]=a,l[z]===z&&s===A&&(l[d]=l[q],l[L]=l[j]),s===Y&&a instanceof Error){const k=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;k&&c(a,le,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<C.length;)F(l,C[k++],C[k++],C[k++],C[k++]);if(0==C.length&&s==Y){l[d]=0;let k=a;try{throw new Error("Uncaught (in promise): "+function u(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(a)+(a&&a.stack?"\n"+a.stack:""))}catch(b){k=b}y&&(k.throwOriginal=!0),k.rejection=a,k.promise=l,k.zone=n.current,k.task=n.currentTask,_.push(k),i.scheduleMicroTask()}}}return l}const te=f("rejectionHandledHandler");function re(l){if(0===l[d]){try{const s=n[te];s&&"function"==typeof s&&s.call(this,{rejection:l[L],promise:l})}catch{}l[d]=Y;for(let s=0;s<_.length;s++)l===_[s].promise&&_.splice(s,1)}}function F(l,s,a,h,w){re(l);const C=l[d],k=C?"function"==typeof h?h:V:"function"==typeof w?w:E;s.scheduleMicroTask("Promise.then",()=>{try{const b=l[L],N=!!a&&z===a[z];N&&(a[j]=b,a[q]=C);const H=s.run(k,void 0,N&&k!==E&&k!==V?[]:[b]);G(a,!0,H)}catch(b){G(a,!1,b)}},a)}const p=function(){};class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(s){return G(new this(null),A,s)}static reject(s){return G(new this(null),Y,s)}static race(s){let a,h,w=new this((b,N)=>{a=b,h=N});function C(b){a(b)}function k(b){h(b)}for(let b of s)B(b)||(b=this.resolve(b)),b.then(C,k);return w}static all(s){return t.allWithCallback(s)}static allSettled(s){return(this&&this.prototype instanceof t?this:t).allWithCallback(s,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(s,a){let h,w,C=new this((H,U)=>{h=H,w=U}),k=2,b=0;const N=[];for(let H of s){B(H)||(H=this.resolve(H));const U=b;try{H.then(Q=>{N[U]=a?a.thenCallback(Q):Q,k--,0===k&&h(N)},Q=>{a?(N[U]=a.errorCallback(Q),k--,0===k&&h(N)):w(Q)})}catch(Q){w(Q)}k++,b++}return k-=2,0===k&&h(N),C}constructor(s){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[d]=X,a[L]=[];try{s&&s(M(a,A),M(a,Y))}catch(h){G(a,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(s,a){let h=this.constructor[Symbol.species];(!h||"function"!=typeof h)&&(h=this.constructor||t);const w=new h(p),C=n.current;return this[d]==X?this[L].push(C,w,s,a):F(this,C,w,s,a),w}catch(s){return this.then(null,s)}finally(s){let a=this.constructor[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const h=new a(p);h[z]=z;const w=n.current;return this[d]==X?this[L].push(w,h,s,s):F(this,w,h,s,s),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const o=e[T]=e.Promise;e.Promise=t;const g=f("thenPatched");function P(l){const s=l.prototype,a=r(s,"then");if(a&&(!1===a.writable||!a.configurable))return;const h=s.then;s[m]=h,l.prototype.then=function(w,C){return new t((b,N)=>{h.call(this,b,N)}).then(w,C)},l[g]=!0}return i.patchThen=P,o&&(P(o),ce(e,"fetch",l=>function K(l){return function(s,a){let h=l.apply(s,a);if(h instanceof t)return h;let w=h.constructor;return w[g]||P(w),h}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=x("OriginalDelegate"),r=x("Promise"),c=x("Error"),u=function(){if("function"==typeof this){const T=this[i];if(T)return"function"==typeof T?n.call(T):Object.prototype.toString.call(T);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};u[i]=n,Function.prototype.toString=u;const f=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":f.call(this)}});let me=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}const Et={useG:!0},ee={},Ke={},Je=new RegExp("^"+ke+"(\\w+)(true|false)$"),xe=x("propagationStopped");function Qe(e,n){const i=(n?n(e):e)+ie,r=(n?n(e):e)+se,c=ke+i,u=ke+r;ee[e]={},ee[e][ie]=c,ee[e][se]=u}function Tt(e,n,i){const r=i&&i.add||Se,c=i&&i.rm||Oe,u=i&&i.listeners||"eventListeners",f=i&&i.rmAll||"removeAllListeners",_=x(r),y="."+r+":",S=function(E,d,L){if(E.isRemoved)return;const z=E.callback;"object"==typeof z&&z.handleEvent&&(E.callback=q=>z.handleEvent(q),E.originalDelegate=z),E.invoke(E,d,[L]);const j=E.options;j&&"object"==typeof j&&j.once&&d[c].call(d,L.type,E.originalDelegate?E.originalDelegate:E.callback,j)},D=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][ie]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}},Z=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][se]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}};function B(E,d){if(!E)return!1;let L=!0;d&&void 0!==d.useG&&(L=d.useG);const z=d&&d.vh;let j=!0;d&&void 0!==d.chkDup&&(j=d.chkDup);let q=!1;d&&void 0!==d.rt&&(q=d.rt);let O=E;for(;O&&!O.hasOwnProperty(r);)O=de(O);if(!O&&E[r]&&(O=E),!O||O[_])return!1;const X=d&&d.eventNameToString,A={},Y=O[_]=O[r],v=O[x(c)]=O[c],M=O[x(u)]=O[u],R=O[x(f)]=O[f];let J;function le(s,a){return!me&&"object"==typeof s&&s?!!s.capture:me&&a?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}d&&d.prepend&&(J=O[x(d.prepend)]=O[d.prepend]);const p=L?function(s){if(!A.isExisting)return Y.call(A.target,A.eventName,A.capture?Z:D,A.options)}:function(s){return Y.call(A.target,A.eventName,s.invoke,A.options)},t=L?function(s){if(!s.isRemoved){const a=ee[s.eventName];let h;a&&(h=a[s.capture?se:ie]);const w=h&&s.target[h];if(w)for(let C=0;C<w.length;C++)if(w[C]===s){w.splice(C,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[h]=null);break}}if(s.allRemoved)return v.call(s.target,s.eventName,s.capture?Z:D,s.options)}:function(s){return v.call(s.target,s.eventName,s.invoke,s.options)},g=d&&d.diff?d.diff:function(s,a){const h=typeof a;return"function"===h&&s.callback===a||"object"===h&&s.originalDelegate===a},P=Zone[x("UNPATCHED_EVENTS")],K=e[x("PASSIVE_EVENTS")],l=function(s,a,h,w,C=!1,k=!1){return function(){const b=this||e;let N=arguments[0];d&&d.transferEventName&&(N=d.transferEventName(N));let H=arguments[1];if(!H)return s.apply(this,arguments);if(Re&&"uncaughtException"===N)return s.apply(this,arguments);let U=!1;if("function"!=typeof H){if(!H.handleEvent)return s.apply(this,arguments);U=!0}if(z&&!z(s,H,b,arguments))return;const Q=me&&!!K&&-1!==K.indexOf(N),oe=le(arguments[2],Q);if(P)for(let _e=0;_e<P.length;_e++)if(N===P[_e])return Q?s.call(b,N,H,oe):s.apply(this,arguments);const Ge=!!oe&&("boolean"==typeof oe||oe.capture),st=!(!oe||"object"!=typeof oe)&&oe.once,At=Zone.current;let ze=ee[N];ze||(Qe(N,X),ze=ee[N]);const it=ze[Ge?se:ie];let De,ye=b[it],ct=!1;if(ye){if(ct=!0,j)for(let _e=0;_e<ye.length;_e++)if(g(ye[_e],H))return}else ye=b[it]=[];const at=b.constructor.name,lt=Ke[at];lt&&(De=lt[N]),De||(De=at+a+(X?X(N):N)),A.options=oe,st&&(A.options.once=!1),A.target=b,A.capture=Ge,A.eventName=N,A.isExisting=ct;const be=L?Et:void 0;be&&(be.taskData=A);const fe=At.scheduleEventTask(De,H,be,h,w);return A.target=null,be&&(be.taskData=null),st&&(oe.once=!0),!me&&"boolean"==typeof fe.options||(fe.options=oe),fe.target=b,fe.capture=Ge,fe.eventName=N,U&&(fe.originalDelegate=H),k?ye.unshift(fe):ye.push(fe),C?b:void 0}};return O[r]=l(Y,y,p,t,q),J&&(O.prependListener=l(J,".prependListener:",function(s){return J.call(A.target,A.eventName,s.invoke,A.options)},t,q,!0)),O[c]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=arguments[2],w=!!h&&("boolean"==typeof h||h.capture),C=arguments[1];if(!C)return v.apply(this,arguments);if(z&&!z(v,C,s,arguments))return;const k=ee[a];let b;k&&(b=k[w?se:ie]);const N=b&&s[b];if(N)for(let H=0;H<N.length;H++){const U=N[H];if(g(U,C))return N.splice(H,1),U.isRemoved=!0,0===N.length&&(U.allRemoved=!0,s[b]=null,"string"==typeof a)&&(s[ke+"ON_PROPERTY"+a]=null),U.zone.cancelTask(U),q?s:void 0}return v.apply(this,arguments)},O[u]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=[],w=et(s,X?X(a):a);for(let C=0;C<w.length;C++){const k=w[C];h.push(k.originalDelegate?k.originalDelegate:k.callback)}return h},O[f]=function(){const s=this||e;let a=arguments[0];if(a){d&&d.transferEventName&&(a=d.transferEventName(a));const h=ee[a];if(h){const k=s[h[ie]],b=s[h[se]];if(k){const N=k.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}if(b){const N=b.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}}}else{const h=Object.keys(s);for(let w=0;w<h.length;w++){const k=Je.exec(h[w]);let b=k&&k[1];b&&"removeListener"!==b&&this[f].call(this,b)}this[f].call(this,"removeListener")}if(q)return this},ae(O[r],Y),ae(O[c],v),R&&ae(O[f],R),M&&ae(O[u],M),!0}let V=[];for(let E=0;E<n.length;E++)V[E]=B(n[E],i);return V}function et(e,n){if(!n){const u=[];for(let f in e){const _=Je.exec(f);let y=_&&_[1];if(y&&(!n||y===n)){const T=e[f];if(T)for(let m=0;m<T.length;m++)u.push(T[m])}}return u}let i=ee[n];i||(Qe(n),i=ee[n]);const r=e[i[ie]],c=e[i[se]];return r?c?r.concat(c):r.slice():c?c.slice():[]}function gt(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",r=>function(c,u){c[xe]=!0,r&&r.apply(c,u)})}function yt(e,n,i,r,c){const u=Zone.__symbol__(r);if(n[u])return;const f=n[u]=n[r];n[r]=function(_,y,T){return y&&y.prototype&&c.forEach(function(m){const S=`${i}.${r}::`+m,D=y.prototype;if(D.hasOwnProperty(m)){const Z=e.ObjectGetOwnPropertyDescriptor(D,m);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,S),e._redefineProperty(y.prototype,m,Z)):D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}else D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}),f.call(n,_,y,T)},e.attachOriginToPatched(n[r],f)}const Ve=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],wt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],tt=["load"],nt=["blur","error","focus","load","resize","scroll","messageerror"],Dt=["bounce","finish","start"],rt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ee=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],St=["close","error","open","message"],Ot=["error","message"],Te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Ve,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(e,n,i){if(!i||0===i.length)return n;const r=i.filter(u=>u.target===e);if(!r||0===r.length)return n;const c=r[0].ignoreProperties;return n.filter(u=>-1===c.indexOf(u))}function W(e,n,i,r){e&&Ye(e,ot(e,n,i),r)}Zone.__load_patch("util",(e,n,i)=>{i.patchOnProperties=Ye,i.patchMethod=ce,i.bindArguments=Ae,i.patchMacroTask=_t;const r=n.__symbol__("BLACK_LISTED_EVENTS"),c=n.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[r]=e[c]),e[r]&&(n[r]=n[c]=e[r]),i.patchEventPrototype=gt,i.patchEventTarget=Tt,i.isIEOrEdge=mt,i.ObjectDefineProperty=he,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Be,i.ArraySlice=ut,i.patchClass=ve,i.wrapWithCurrentZone=Le,i.filterProperties=ot,i.attachOriginToPatched=ae,i._redefineProperty=Object.defineProperty,i.patchCallbacks=yt,i.getGlobalObjects=()=>({globalSources:Ke,zoneSymbolEventNames:ee,eventNames:Te,isBrowser:je,isMix:We,isNode:Re,TRUE_STR:se,FALSE_STR:ie,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ne=x("zoneTask");function ge(e,n,i,r){let c=null,u=null;i+=r;const f={};function _(T){const m=T.data;return m.args[0]=function(){return T.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),T}function y(T){return u.call(e,T.data.handleId)}c=ce(e,n+=r,T=>function(m,S){if("function"==typeof S[0]){const D={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?S[1]||0:void 0,args:S},Z=S[0];S[0]=function(){try{return Z.apply(this,arguments)}finally{D.isPeriodic||("number"==typeof D.handleId?delete f[D.handleId]:D.handleId&&(D.handleId[Ne]=null))}};const B=Me(n,S[0],D,_,y);if(!B)return B;const V=B.data.handleId;return"number"==typeof V?f[V]=B:V&&(V[Ne]=B),V&&V.ref&&V.unref&&"function"==typeof V.ref&&"function"==typeof V.unref&&(B.ref=V.ref.bind(V),B.unref=V.unref.bind(V)),"number"==typeof V||V?V:B}return T.apply(e,S)}),u=ce(e,i,T=>function(m,S){const D=S[0];let Z;"number"==typeof D?Z=f[D]:(Z=D&&D[Ne],Z||(Z=D)),Z&&"string"==typeof Z.type?"notScheduled"!==Z.state&&(Z.cancelFn&&Z.data.isPeriodic||0===Z.runCount)&&("number"==typeof D?delete f[D]:D&&(D[Ne]=null),Z.zone.cancelTask(Z)):T.apply(e,S)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",r=>function(c,u){n.current.scheduleMicroTask("queueMicrotask",u[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";ge(e,n,i,"Timeout"),ge(e,n,i,"Interval"),ge(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ge(e,"request","cancel","AnimationFrame"),ge(e,"mozRequest","mozCancel","AnimationFrame"),ge(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let r=0;r<i.length;r++)ce(e,i[r],(u,f,_)=>function(y,T){return n.current.run(u,e,T,_)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function Mt(e,n){n.patchEventPrototype(e,n)})(e,i),function Lt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:r,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:f}=n.getGlobalObjects();for(let y=0;y<i.length;y++){const T=i[y],D=f+(T+u),Z=f+(T+c);r[T]={},r[T][u]=D,r[T][c]=Z}const _=e.EventTarget;_&&_.prototype&&n.patchEventTarget(e,[_&&_.prototype])}(e,i);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&i.patchEventTarget(e,[r.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Zt(e,n){if(Re&&!We||Zone[e.symbol("patchEvents")])return;const i=typeof WebSocket<"u",r=n.__Zone_ignore_on_properties;if(je){const f=window,_=function pt(){try{const e=pe.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:f,ignoreProperties:["error"]}]:[];W(f,Te.concat(["messageerror"]),r&&r.concat(_),de(f)),W(Document.prototype,Te,r),typeof f.SVGElement<"u"&&W(f.SVGElement.prototype,Te,r),W(Element.prototype,Te,r),W(HTMLElement.prototype,Te,r),W(HTMLMediaElement.prototype,wt,r),W(HTMLFrameSetElement.prototype,Ve.concat(nt),r),W(HTMLBodyElement.prototype,Ve.concat(nt),r),W(HTMLFrameElement.prototype,tt,r),W(HTMLIFrameElement.prototype,tt,r);const y=f.HTMLMarqueeElement;y&&W(y.prototype,Dt,r);const T=f.Worker;T&&W(T.prototype,Ot,r)}const c=n.XMLHttpRequest;c&&W(c.prototype,rt,r);const u=n.XMLHttpRequestEventTarget;u&&W(u&&u.prototype,rt,r),typeof IDBIndex<"u"&&(W(IDBIndex.prototype,Ee,r),W(IDBRequest.prototype,Ee,r),W(IDBOpenDBRequest.prototype,Ee,r),W(IDBDatabase.prototype,Ee,r),W(IDBTransaction.prototype,Ee,r),W(IDBCursor.prototype,Ee,r)),i&&W(WebSocket.prototype,St,r)}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function It(e,n){const{isBrowser:i,isMix:r}=n.getGlobalObjects();(i||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function y(T){const m=T.XMLHttpRequest;if(!m)return;const S=m.prototype;let Z=S[Ze],B=S[Ie];if(!Z){const v=T.XMLHttpRequestEventTarget;if(v){const M=v.prototype;Z=M[Ze],B=M[Ie]}}const V="readystatechange",E="scheduled";function d(v){const M=v.data,R=M.target;R[u]=!1,R[_]=!1;const J=R[c];Z||(Z=R[Ze],B=R[Ie]),J&&B.call(R,V,J);const le=R[c]=()=>{if(R.readyState===R.DONE)if(!M.aborted&&R[u]&&v.state===E){const te=R[n.__symbol__("loadfalse")];if(0!==R.status&&te&&te.length>0){const re=v.invoke;v.invoke=function(){const F=R[n.__symbol__("loadfalse")];for(let I=0;I<F.length;I++)F[I]===v&&F.splice(I,1);!M.aborted&&v.state===E&&re.call(v)},te.push(v)}else v.invoke()}else!M.aborted&&!1===R[u]&&(R[_]=!0)};return Z.call(R,V,le),R[i]||(R[i]=v),A.apply(R,M.args),R[u]=!0,v}function L(){}function z(v){const M=v.data;return M.aborted=!0,Y.apply(M.target,M.args)}const j=ce(S,"open",()=>function(v,M){return v[r]=0==M[2],v[f]=M[1],j.apply(v,M)}),O=x("fetchTaskAborting"),X=x("fetchTaskScheduling"),A=ce(S,"send",()=>function(v,M){if(!0===n.current[X]||v[r])return A.apply(v,M);{const R={target:v,url:v[f],isPeriodic:!1,args:M,aborted:!1},J=Me("XMLHttpRequest.send",L,R,d,z);v&&!0===v[_]&&!R.aborted&&J.state===E&&J.invoke()}}),Y=ce(S,"abort",()=>function(v,M){const R=function D(v){return v[i]}(v);if(R&&"string"==typeof R.type){if(null==R.cancelFn||R.data&&R.data.aborted)return;R.zone.cancelTask(R)}else if(!0===n.current[O])return Y.apply(v,M)})}(e);const i=x("xhrTask"),r=x("xhrSync"),c=x("xhrListener"),u=x("xhrScheduled"),f=x("xhrURL"),_=x("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function dt(e,n){const i=e.constructor.name;for(let r=0;r<n.length;r++){const c=n[r],u=e[c];if(u){if(!Fe(ue(e,c)))continue;e[c]=(_=>{const y=function(){return _.apply(this,Ae(arguments,i+"."+c))};return ae(y,_),y})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(r){return function(c){et(e,r).forEach(f=>{const _=e.PromiseRejectionEvent;if(_){const y=new _(r,{promise:c.promise,reason:c.rejection});f.invoke(y)}})}}e.PromiseRejectionEvent&&(n[x("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[x("rejectionHandledHandler")]=i("rejectionhandled"))})}},we=>{we(we.s=435)}]);
"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{103:()=>{function ve(e){return"function"==typeof e}function Bo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Ho=Bo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Lr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Nt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ve(r))try{r()}catch(i){t=i instanceof Ho?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{Lu(i)}catch(s){t=t??[],s instanceof Ho?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ho(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Lu(t);else{if(t instanceof Nt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Lr(n,t)}remove(t){const{_teardowns:n}=this;n&&Lr(n,t),t instanceof Nt&&t._removeParent(this)}}Nt.EMPTY=(()=>{const e=new Nt;return e.closed=!0,e})();const Pu=Nt.EMPTY;function ku(e){return e instanceof Nt||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function Lu(e){ve(e)?e():e.unsubscribe()}const wn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},jo={setTimeout(...e){const{delegate:t}=jo;return(t?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=jo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Vu(e){jo.setTimeout(()=>{const{onUnhandledError:t}=wn;if(!t)throw e;t(e)})}function $o(){}const Hv=Ps("C",void 0,void 0);function Ps(e,t,n){return{kind:e,value:t,error:n}}let bn=null;function Uo(e){if(wn.useDeprecatedSynchronousErrorHandling){const t=!bn;if(t&&(bn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=bn;if(bn=null,n)throw r}}else e()}class ks extends Nt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ku(t)&&t.add(this)):this.destination=zv}static create(t,n,r){return new Ls(t,n,r)}next(t){this.isStopped?Bs(function $v(e){return Ps("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Bs(function jv(e){return Ps("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Bs(Hv,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Ls extends ks{constructor(t,n,r){let o;if(super(),ve(t))o=t;else if(t){let i;({next:o,error:n,complete:r}=t),this&&wn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,o=o?.bind(i),n=n?.bind(i),r=r?.bind(i)}this.destination={next:o?Vs(o):$o,error:Vs(n??Bu),complete:r?Vs(r):$o}}}function Vs(e,t){return(...n)=>{try{e(...n)}catch(r){wn.useDeprecatedSynchronousErrorHandling?function Uv(e){wn.useDeprecatedSynchronousErrorHandling&&bn&&(bn.errorThrown=!0,bn.error=e)}(r):Vu(r)}}}function Bu(e){throw e}function Bs(e,t){const{onStoppedNotification:n}=wn;n&&jo.setTimeout(()=>n(e,t))}const zv={closed:!0,next:$o,error:Bu,complete:$o},Hs="function"==typeof Symbol&&Symbol.observable||"@@observable";function Hu(e){return e}let ze=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function Wv(e){return e&&e instanceof ks||function Gv(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}(e)&&ku(e)}(n)?n:new Ls(n,r,o);return Uo(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=$u(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){i(l),s?.unsubscribe()}},i,o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Hs](){return this}pipe(...n){return function ju(e){return 0===e.length?Hu:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=$u(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function $u(e){var t;return null!==(t=e??wn.Promise)&&void 0!==t?t:Promise}const qv=Bo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let js=(()=>{class e extends ze{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Uu(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new qv}next(n){Uo(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){Uo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Uo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Pu:(i.push(n),new Nt(()=>Lr(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new ze;return n.source=this,n}}return e.create=(t,n)=>new Uu(t,n),e})();class Uu extends js{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Pu}}function Wn(e){return t=>{if(function Zv(e){return ve(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class qn extends ks{constructor(t,n,r,o,i){super(t),this.onFinalize=i,this._next=n?function(s){try{n(s)}catch(a){t.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function $s(e,t){return Wn((n,r)=>{let o=0;n.subscribe(new qn(r,i=>{r.next(e.call(t,i,o++))}))})}function En(e){return this instanceof En?(this.v=e,this):new En(e)}function Kv(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(m,y){i.push([f,p,m,y])>1||a(f,p)})})}function a(f,p){try{!function l(f){f.value instanceof En?Promise.resolve(f.value.v).then(c,u):d(i[0][2],f)}(r[f](p))}catch(m){d(i[0][3],m)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Jv(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Wu(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const qu=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Zu(e){return ve(e?.then)}function Qu(e){return ve(e[Hs])}function Yu(e){return Symbol.asyncIterator&&ve(e?.[Symbol.asyncIterator])}function Ku(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ju=function ey(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Xu(e){return ve(e?.[Ju])}function ed(e){return Kv(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield En(n.read());if(o)return yield En(void 0);yield yield En(r)}}finally{n.releaseLock()}})}function td(e){return ve(e?.getReader)}function In(e){if(e instanceof ze)return e;if(null!=e){if(Qu(e))return function ty(e){return new ze(t=>{const n=e[Hs]();if(ve(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(qu(e))return function ny(e){return new ze(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Zu(e))return function ry(e){return new ze(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Vu)})}(e);if(Yu(e))return nd(e);if(Xu(e))return function oy(e){return new ze(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(td(e))return function iy(e){return nd(ed(e))}(e)}throw Ku(e)}function nd(e){return new ze(t=>{(function sy(e,t){var n,r,o,i;return function Qv(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Jv(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function sn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function rd(e,t,n=1/0){return ve(t)?rd((r,o)=>$s((i,s)=>t(r,i,o,s))(In(e(r,o))),n):("number"==typeof t&&(n=t),Wn((r,o)=>function ay(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},p=y=>c<r?m(y):l.push(y),m=y=>{i&&t.next(y),c++;let E=!1;In(n(y,u++)).subscribe(new qn(t,M=>{o?.(M),i?p(M):t.next(M)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&c<r;){const M=l.shift();s?sn(t,s,()=>m(M)):m(M)}f()}catch(M){t.error(M)}}))};return e.subscribe(new qn(t,p,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const zs=new ze(e=>e.complete());function Gs(e){return e[e.length-1]}function od(e,t=0){return Wn((n,r)=>{n.subscribe(new qn(r,o=>sn(r,e,()=>r.next(o),t),()=>sn(r,e,()=>r.complete(),t),o=>sn(r,e,()=>r.error(o),t)))})}function id(e,t=0){return Wn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function sd(e,t){if(!e)throw new Error("Iterable cannot be null");return new ze(n=>{sn(n,t,()=>{const r=e[Symbol.asyncIterator]();sn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ws(e,t){return t?function yy(e,t){if(null!=e){if(Qu(e))return function py(e,t){return In(e).pipe(id(t),od(t))}(e,t);if(qu(e))return function my(e,t){return new ze(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Zu(e))return function gy(e,t){return In(e).pipe(id(t),od(t))}(e,t);if(Yu(e))return sd(e,t);if(Xu(e))return function _y(e,t){return new ze(n=>{let r;return sn(n,t,()=>{r=e[Ju](),sn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ve(r?.return)&&r.return()})}(e,t);if(td(e))return function vy(e,t){return sd(ed(e),t)}(e,t)}throw Ku(e)}(e,t):In(e)}function Dy(...e){const t=function fy(e){return function uy(e){return e&&ve(e.schedule)}(Gs(e))?e.pop():void 0}(e),n=function hy(e,t){return"number"==typeof Gs(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?In(r[0]):function ly(e=1/0){return rd(Hu,e)}(n)(Ws(r,t)):zs}function qs(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(function Cy(e){return e<=0?()=>zs:Wn((t,n)=>{let r=0;t.subscribe(new qn(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}(1)).subscribe(()=>e())}function le(e){for(let t in e)if(e[t]===le)return t;throw Error("Could not find renamed property on target object.")}function Zs(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ce(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Qs(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const by=le({__forward_ref__:le});function ue(e){return e.__forward_ref__=ue,e.toString=function(){return ce(this())},e}function k(e){return Ys(e)?e():e}function Ys(e){return"function"==typeof e&&e.hasOwnProperty(by)&&e.__forward_ref__===ue}function Ks(e){return e&&!!e.\u0275providers}const ad="https://g.co/ng/security#xss";class A extends Error{constructor(t,n){super(function zo(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function j(e){return"string"==typeof e?e:null==e?"":String(e)}function Go(e,t){throw new A(-201,!1)}function rt(e,t){null==e&&function ne(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function de(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function zt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Wo(e){return ld(e,qo)||ld(e,ud)}function ld(e,t){return e.hasOwnProperty(t)?e[t]:null}function cd(e){return e&&(e.hasOwnProperty(Js)||e.hasOwnProperty(Ny))?e[Js]:null}const qo=le({\u0275prov:le}),Js=le({\u0275inj:le}),ud=le({ngInjectableDef:le}),Ny=le({ngInjectorDef:le});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let Xs;function ft(e){const t=Xs;return Xs=e,t}function dd(e,t,n){const r=Wo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&V.Optional?null:void 0!==t?t:void Go(ce(e))}const fe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Vr={},ea="__NG_DI_FLAG__",Zo="ngTempTokenPath",Ry=/\n/gm,fd="__source";let Br;function Zn(e){const t=Br;return Br=e,t}function ky(e,t=V.Default){if(void 0===Br)throw new A(-203,!1);return null===Br?dd(e,void 0,t):Br.get(e,t&V.Optional?null:void 0,t)}function re(e,t=V.Default){return(function Fy(){return Xs}()||ky)(k(e),t)}function Qo(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ta(e){const t=[];for(let n=0;n<e.length;n++){const r=k(e[n]);if(Array.isArray(r)){if(0===r.length)throw new A(900,!1);let o,i=V.Default;for(let s=0;s<r.length;s++){const a=r[s],l=Vy(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}t.push(re(o,i))}else t.push(re(r))}return t}function Hr(e,t){return e[ea]=t,e.prototype[ea]=t,e}function Vy(e){return e[ea]}function an(e){return{toString:e}.toString()}var yt=(()=>((yt=yt||{})[yt.OnPush=0]="OnPush",yt[yt.Default=1]="Default",yt))(),Ft=(()=>{return(e=Ft||(Ft={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ft;var e})();const Gt={},X=[],Yo=le({\u0275cmp:le}),na=le({\u0275dir:le}),ra=le({\u0275pipe:le}),pd=le({\u0275mod:le}),Wt=le({\u0275fac:le}),jr=le({__NG_ELEMENT_ID__:le});let jy=0;function ln(e){return an(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===yt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||X,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ft.Emulated,id:"c"+jy++,styles:e.styles||X,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=_d(e.inputs,r),o.outputs=_d(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(gd).filter(md):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(Ge).filter(md):null,o})}function gd(e){return oe(e)||Pe(e)}function md(e){return null!==e}function cn(e){return an(()=>({type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _d(e,t){if(null==e)return Gt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const $=ln;function Je(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function oe(e){return e[Yo]||null}function Pe(e){return e[na]||null}function Ge(e){return e[ra]||null}const G=11;function Xe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ct(e){return Array.isArray(e)&&!0===e[1]}function sa(e){return 0!=(4&e.flags)}function ei(e){return e.componentOffset>-1}function ti(e){return 1==(1&e.flags)}function wt(e){return null!==e.template}function qy(e){return 0!=(256&e[2])}function xn(e,t){return e.hasOwnProperty(Wt)?e[Wt]:null}class Yy{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function qt(){return Dd}function Dd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Jy),Ky}function Ky(){const e=wd(this),t=e?.current;if(t){const n=e.previous;if(n===Gt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Jy(e,t,n,r){const o=this.declaredInputs[n],i=wd(e)||function Xy(e,t){return e[Cd]=t}(e,{previous:Gt,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new Yy(l&&l.currentValue,t,a===Gt),e[r]=t}qt.ngInherit=!0;const Cd="__ngSimpleChanges__";function wd(e){return e[Cd]||null}function Se(e){for(;Array.isArray(e);)e=e[0];return e}function ni(e,t){return Se(t[e])}function st(e,t){return Se(t[e.index])}function da(e,t){return e.data[t]}function at(e,t){const n=t[e];return Xe(n)?n:n[0]}function ri(e){return 64==(64&e[2])}function un(e,t){return null==t?null:e[t]}function bd(e){e[18]=0}function fa(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const H={lFrame:Od(null),bindingsEnabled:!0};function Id(){return H.bindingsEnabled}function w(){return H.lFrame.lView}function J(){return H.lFrame.tView}function ie(e){return H.lFrame.contextLView=e,e[8]}function se(e){return H.lFrame.contextLView=null,e}function Oe(){let e=Md();for(;null!==e&&64===e.type;)e=e.parent;return e}function Md(){return H.lFrame.currentTNode}function Ot(e,t){const n=H.lFrame;n.currentTNode=e,n.isParent=t}function ha(){return H.lFrame.isParent}function pa(){H.lFrame.isParent=!1}function We(){const e=H.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xn(){return H.lFrame.bindingIndex++}function Qt(e){const t=H.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function pD(e,t){const n=H.lFrame;n.bindingIndex=n.bindingRootIndex=e,ga(t)}function ga(e){H.lFrame.currentDirectiveIndex=e}function _a(e){H.lFrame.currentQueryIndex=e}function mD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Nd(e,t,n){if(n&V.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&V.Host||(o=mD(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=H.lFrame=Fd();return r.currentTNode=t,r.lView=e,!0}function va(e){const t=Fd(),n=e[1];H.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fd(){const e=H.lFrame,t=null===e?null:e.child;return null===t?Od(e):t}function Od(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Rd(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Pd=Rd;function ya(){const e=Rd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function qe(){return H.lFrame.selectedIndex}function Nn(e){H.lFrame.selectedIndex=e}function ye(){const e=H.lFrame;return da(e.tView,e.selectedIndex)}function oi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=i;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),l&&(e.viewHooks||(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks||(e.viewHooks=[])).push(n,c),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,c)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function ii(e,t,n){Ld(e,t,3,n)}function si(e,t,n,r){(3&e[2])===n&&Ld(e,t,n,r)}function Da(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ld(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&e[18]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(e[18]+=65536),(a<i||-1==i)&&(ED(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}function ED(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Zr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function wa(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];Bd(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Vd(e){return 3===e||4===e||6===e}function Bd(e){return 64===e.charCodeAt(0)}function Yr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Hd(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Hd(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function jd(e){return-1!==e}function er(e){return 32767&e}function tr(e,t){let n=function TD(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ba=!0;function ai(e){const t=ba;return ba=e,t}let xD=0;const Rt={};function li(e,t){const n=Ia(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ea(r.data,e),Ea(t,null),Ea(r.blueprint,null));const o=ci(e,t),i=e.injectorIndex;if(jd(o)){const s=er(o),a=tr(o,t),l=a[1].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function Ea(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ia(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ci(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Yd(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ma(e,t,n){!function ND(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(jr)&&(r=n[jr]),null==r&&(r=n[jr]=xD++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function zd(e,t,n){if(n&V.Optional||void 0!==e)return e;Go()}function Gd(e,t,n,r){if(n&V.Optional&&void 0===r&&(r=null),0==(n&(V.Self|V.Host))){const o=e[9],i=ft(void 0);try{return o?o.get(t,r,n&V.Optional):dd(t,r,n&V.Optional)}finally{ft(i)}}return zd(r,0,n)}function Wd(e,t,n,r=V.Default,o){if(null!==e){if(1024&t[2]){const s=function kD(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=qd(i,s,n,r|V.Self,Rt);if(a!==Rt)return a;let l=i.parent;if(!l){const c=s[21];if(c){const u=c.get(n,Rt,r);if(u!==Rt)return u}l=Yd(s),s=s[15]}i=l}return o}(e,t,n,r,Rt);if(s!==Rt)return s}const i=qd(e,t,n,r,Rt);if(i!==Rt)return i}return Gd(t,n,r,o)}function qd(e,t,n,r,o){const i=function RD(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(jr)?e[jr]:void 0;return"number"==typeof t?t>=0?255&t:PD:t}(n);if("function"==typeof i){if(!Nd(t,e,r))return r&V.Host?zd(o,0,r):Gd(t,n,r,o);try{const s=i(r);if(null!=s||r&V.Optional)return s;Go()}finally{Pd()}}else if("number"==typeof i){let s=null,a=Ia(e,t),l=-1,c=r&V.Host?t[16][6]:null;for((-1===a||r&V.SkipSelf)&&(l=-1===a?ci(e,t):t[a+8],-1!==l&&Qd(r,!1)?(s=t[1],a=er(l),t=tr(l,t)):a=-1);-1!==a;){const u=t[1];if(Zd(i,a,u.data)){const d=OD(a,t,n,s,r,c);if(d!==Rt)return d}l=t[a+8],-1!==l&&Qd(r,t[1].data[a+8]===c)&&Zd(i,a,t)?(s=u,a=er(l),t=tr(l,t)):a=-1}}return o}function OD(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],u=function ui(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p<f;p++){const m=s[p];if(p<l&&n===m||p>=l&&m.type===n)return p}if(o){const p=s[l];if(p&&wt(p)&&p.type===n)return l}return null}(a,s,n,null==r?ei(a)&&ba:r!=s&&0!=(3&a.type),o&V.Host&&i===a);return null!==u?nr(t,s,u,a):Rt}function nr(e,t,n,r){let o=e[n];const i=t.data;if(function ID(e){return e instanceof Zr}(o)){const s=o;s.resolving&&function Ey(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new A(-200,`Circular dependency in DI detected for ${e}${n}`)}(function te(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():j(e)}(i[n]));const a=ai(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ft(s.injectImpl):null;Nd(e,r,V.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function bD(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Dd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&ft(l),ai(a),s.resolving=!1,Pd()}}return o}function Zd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Qd(e,t){return!(e&V.Self||e&V.Host&&t)}class rr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Wd(this._tNode,this._lView,t,Qo(r),n)}}function PD(){return new rr(Oe(),w())}function Ve(e){return an(()=>{const t=e.prototype.constructor,n=t[Wt]||Sa(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Wt]||Sa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Sa(e){return Ys(e)?()=>{const t=Sa(k(e));return t&&t()}:xn(e)}function Yd(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const ir="__parameters__";function ar(e,t,n){return an(()=>{const r=function Ta(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(ir)?l[ir]:Object.defineProperty(l,ir,{value:[]})[ir];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class B{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=de({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Fn(e,t){e.forEach(n=>Array.isArray(n)?Fn(n,t):t(n))}function Jd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function di(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ct(e,t,n){let r=lr(e,t);return r>=0?e[1|r]=n:(r=~r,function HD(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Na(e,t){const n=lr(e,t);if(n>=0)return e[1|n]}function lr(e,t){return function tf(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const hi=Hr(ar("Optional"),8),pi=Hr(ar("SkipSelf"),4);var et=(()=>((et=et||{})[et.Important=1]="Important",et[et.DashCase=2]="DashCase",et))();const La=new Map;let lC=0;const Ba="__ngContext__";function Be(e,t){Xe(t)?(e[Ba]=t[20],function uC(e){La.set(e[20],e)}(t)):e[Ba]=t}function ja(e,t){return undefined(e,t)}function ro(e){const t=e[3];return Ct(t)?t[3]:t}function $a(e){return bf(e[13])}function Ua(e){return bf(e[4])}function bf(e){for(;null!==e&&!Ct(e);)e=e[4];return e}function ur(e,t,n,r,o){if(null!=r){let i,s=!1;Ct(r)?i=r:Xe(r)&&(s=!0,r=r[0]);const a=Se(r);0===e&&null!==n?null==o?Tf(t,n,a):On(t,n,a,o||null,!0):1===e&&null!==n?On(t,n,a,o||null,!0):2===e?function Ya(e,t,n){const r=_i(e,t);r&&function NC(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function RC(e,t,n,r,o){const i=n[7];i!==Se(n)&&ur(t,e,r,i,o);for(let a=10;a<n.length;a++){const l=n[a];oo(l[1],l,e,t,r,i)}}(t,e,i,n,o)}}function Ga(e,t,n){return e.createElement(t,n)}function If(e,t){const n=e[9],r=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,fa(o,-1)),n.splice(r,1)}function Wa(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&If(o,r),t>0&&(e[n-1][4]=r[4]);const i=di(e,10+t);!function bC(e,t){oo(e,t,t[G],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Mf(e,t){if(!(128&t[2])){const n=t[G];n.destroyNode&&oo(e,t,n,3,null,null),function MC(e){let t=e[13];if(!t)return qa(e[1],e);for(;t;){let n=null;if(Xe(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Xe(t)&&qa(t[1],t),t=t[3];null===t&&(t=e),Xe(t)&&qa(t[1],t),n=t&&t[4]}t=n}}(t)}}function qa(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function xC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Zr)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],l=i[s+1];try{l.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function TC(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)(0,r[i])();t[7]=null}}(e,t),1===t[1].type&&t[G].destroy();const n=t[17];if(null!==n&&Ct(t[3])){n!==t[3]&&If(n,t);const r=t[19];null!==r&&r.detachView(e)}!function dC(e){La.delete(e[20])}(t)}}function Sf(e,t,n){return function Af(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ft.None||i===Ft.Emulated)return null}return st(r,n)}}(e,t.parent,n)}function On(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Tf(e,t,n){e.appendChild(t,n)}function xf(e,t,n,r,o){null!==r?On(e,t,n,r,o):Tf(e,t,n)}function _i(e,t){return e.parentNode(t)}let Xa,Of=function Ff(e,t,n){return 40&e.type?st(e,n):null};function vi(e,t,n,r){const o=Sf(e,r,t),i=t[G],a=function Nf(e,t,n){return Of(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)xf(i,o,n[l],a,!1);else xf(i,o,n,a,!1)}function yi(e,t){if(null!==t){const n=t.type;if(3&n)return st(t,e);if(4&n)return Qa(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return yi(e,r);{const o=e[t.index];return Ct(o)?Qa(-1,o):Se(o)}}if(32&n)return ja(t,e)()||Se(e[t.index]);{const r=Pf(e,t);return null!==r?Array.isArray(r)?r[0]:yi(ro(e[16]),r):yi(e,t.next)}}return null}function Pf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Qa(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return yi(r,o)}return t[7]}function Ka(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===t&&(a&&Be(Se(a),r),n.flags|=2),32!=(32&n.flags))if(8&l)Ka(e,t,n.child,r,o,i,!1),ur(t,e,o,a,i);else if(32&l){const c=ja(n,r);let u;for(;u=c();)ur(t,e,o,u,i);ur(t,e,o,a,i)}else 16&l?kf(e,t,r,n,o,i):ur(t,e,o,a,i);n=s?n.projectionNext:n.next}}function oo(e,t,n,r,o,i){Ka(n,r,e.firstChild,t,o,i,!1)}function kf(e,t,n,r,o,i){const s=n[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)ur(t,e,o,l[c],i);else Ka(e,t,l,s[3],o,i,!0)}function Lf(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Vf(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&wa(e,t,r),null!==o&&Lf(e,t,o),null!==i&&function kC(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}class Uf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ad})`}}function fn(e){return e instanceof Uf?e.changingThisBreaksApplicationSecurity:e}const YC=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var Ee=(()=>((Ee=Ee||{})[Ee.NONE=0]="NONE",Ee[Ee.HTML=1]="HTML",Ee[Ee.STYLE=2]="STYLE",Ee[Ee.SCRIPT=3]="SCRIPT",Ee[Ee.URL=4]="URL",Ee[Ee.RESOURCE_URL=5]="RESOURCE_URL",Ee))();function dr(e){const t=function ao(){const e=w();return e&&e[12]}();return t?t.sanitize(Ee.URL,e)||"":function io(e,t){const n=function WC(e){return e instanceof Uf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ad})`)}return n===t}(e,"URL")?fn(e):function tl(e){return(e=String(e)).match(YC)?e:"unsafe:"+e}(j(e))}const Kf=new B("ENVIRONMENT_INITIALIZER"),Jf=new B("INJECTOR",-1),Xf=new B("INJECTOR_DEF_TYPES");class eh{get(t,n=Vr){if(n===Vr){const r=new Error(`NullInjectorError: No provider for ${ce(t)}!`);throw r.name="NullInjectorError",r}return n}}function uw(...e){return{\u0275providers:th(0,e),\u0275fromNgModule:!0}}function th(e,...t){const n=[],r=new Set;let o;return Fn(t,i=>{const s=i;il(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&nh(o,n),n}function nh(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];sl(o,i=>{t.push(i)})}}function il(e,t,n,r){if(!(e=k(e)))return!1;let o=null,i=cd(e);const s=!i&&oe(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=cd(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)il(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Fn(i.imports,u=>{il(u,t,n,r)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&nh(c,t)}if(!a){const c=xn(o)||(()=>new o);t.push({provide:o,useFactory:c,deps:X},{provide:Xf,useValue:o,multi:!0},{provide:Kf,useValue:()=>re(o),multi:!0})}const l=i.providers;null==l||a||sl(l,u=>{t.push(u)})}}return o!==e&&void 0!==e.providers}function sl(e,t){for(let n of e)Ks(n)&&(n=n.\u0275providers),Array.isArray(n)?sl(n,t):t(n)}const dw=le({provide:String,useValue:le});function al(e){return null!==e&&"object"==typeof e&&dw in e}function Pn(e){return"function"==typeof e}const ll=new B("Set Injector scope."),bi={},hw={};let cl;function Ei(){return void 0===cl&&(cl=new eh),cl}class fr{}class ih extends fr{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,dl(t,s=>this.processProvider(s)),this.records.set(Jf,hr(void 0,this)),o.has("environment")&&this.records.set(fr,hr(void 0,this));const i=this.records.get(ll);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Xf.multi,X,V.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Zn(this),r=ft(void 0);try{return t()}finally{Zn(n),ft(r)}}get(t,n=Vr,r=V.Default){this.assertNotDestroyed(),r=Qo(r);const o=Zn(this),i=ft(void 0);try{if(!(r&V.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function vw(e){return"function"==typeof e||"object"==typeof e&&e instanceof B}(t)&&Wo(t);a=l&&this.injectableDefInScope(l)?hr(ul(t),bi):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&V.Self?Ei():this.parent).get(t,n=r&V.Optional&&n===Vr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Zo]=s[Zo]||[]).unshift(ce(t)),o)throw s;return function By(e,t,n,r){const o=e[Zo];throw t[fd]&&o.unshift(t[fd]),e.message=function Hy(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ce(t);if(Array.isArray(t))o=t.map(ce).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):ce(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ry,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Zo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{ft(i),Zn(o)}}resolveInjectorInitializers(){const t=Zn(this),n=ft(void 0);try{const r=this.get(Kf.multi,X,V.Self);for(const o of r)o()}finally{Zn(t),ft(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ce(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,!1)}processProvider(t){let n=Pn(t=k(t))?t:k(t&&t.provide);const r=function gw(e){return al(e)?hr(void 0,e.useValue):hr(sh(e),bi)}(t);if(Pn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=hr(void 0,bi,!0),o.factory=()=>ta(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===bi&&(n.value=hw,n.value=n.factory()),"object"==typeof n.value&&n.value&&function _w(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=k(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function ul(e){const t=Wo(e),n=null!==t?t.factory:xn(e);if(null!==n)return n;if(e instanceof B)throw new A(204,!1);if(e instanceof Function)return function pw(e){const t=e.length;if(t>0)throw function Xr(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new A(204,!1);const n=function Ty(e){const t=e&&(e[qo]||e[ud]);if(t){const n=function xy(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new A(204,!1)}function sh(e,t,n){let r;if(Pn(e)){const o=k(e);return xn(o)||ul(o)}if(al(e))r=()=>k(e.useValue);else if(function oh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ta(e.deps||[]));else if(function rh(e){return!(!e||!e.useExisting)}(e))r=()=>re(k(e.useExisting));else{const o=k(e&&(e.useClass||e.provide));if(!function mw(e){return!!e.deps}(e))return xn(o)||ul(o);r=()=>new o(...ta(e.deps))}return r}function hr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dl(e,t){for(const n of e)Array.isArray(n)?dl(n,t):n&&Ks(n)?dl(n.\u0275providers,t):t(n)}class yw{}class ah{}class Cw{resolveComponentFactory(t){throw function Dw(e){const t=Error(`No component factory found for ${ce(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ii=(()=>{class e{}return e.NULL=new Cw,e})();function ww(){return pr(Oe(),w())}function pr(e,t){return new bt(st(e,t))}let bt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=ww,e})();class ch{}let kn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Ew(){const e=w(),n=at(Oe().index,e);return(Xe(n)?n:e)[G]}(),e})(),Iw=(()=>{class e{}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>null}),e})();class Mi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Mw=new Mi("15.0.1"),fl={};function pl(e){return e.ngOriginalError}class gr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&pl(t);for(;n&&pl(n);)n=pl(n);return n||null}}function gl(e){return e.ownerDocument.defaultView}function dh(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const fh="ng-template";function kw(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==dh(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function hh(e){return 4===e.type&&e.value!==fh}function Lw(e,t,n){return t===(4!==e.type||n?e.value:fh)}function Vw(e,t,n){let r=4;const o=e.attrs||[],i=function jw(e){for(let t=0;t<e.length;t++)if(Vd(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!Lw(e,l,n)||""===l&&1===t.length){if(Et(r))return!1;s=!0}}else{const c=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!kw(e.attrs,c,n)){if(Et(r))return!1;s=!0}continue}const d=Bw(8&r?"class":l,o,hh(e),n);if(-1===d){if(Et(r))return!1;s=!0;continue}if(""!==c){let f;f=d>i?"":o[d+1].toLowerCase();const p=8&r?f:null;if(p&&-1!==dh(p,c,0)||2&r&&c!==f){if(Et(r))return!1;s=!0}}}}else{if(!s&&!Et(r)&&!Et(l))return!1;if(s&&Et(l))continue;s=!1,r=l|1&r}}return Et(r)||s}function Et(e){return 0==(1&e)}function Bw(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function $w(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function ph(e,t,n=!1){for(let r=0;r<t.length;r++)if(Vw(e,t[r],n))return!0;return!1}function gh(e,t){return e?":not("+t.trim()+")":t}function zw(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Et(s)&&(t+=gh(i,o),o=""),r=s,i=i||!Et(r);n++}return""!==o&&(t+=gh(i,o)),t}const U={};function h(e){mh(J(),w(),qe()+e,!1)}function mh(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&ii(t,i,n)}else{const i=e.preOrderHooks;null!==i&&si(t,i,0,n)}Nn(n)}function Dh(e,t=null,n=null,r){const o=Ch(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ch(e,t=null,n=null,r,o=new Set){const i=[n||X,uw(e)];return r=r||("object"==typeof e?void 0:ce(e)),new ih(i,t||Ei(),r||null,o)}let hn=(()=>{class e{static create(n,r){if(Array.isArray(n))return Dh({name:""},r,n,"");{const o=n.name??"";return Dh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Vr,e.NULL=new eh,e.\u0275prov=de({token:e,providedIn:"any",factory:()=>re(Jf)}),e.__NG_ELEMENT_ID__=-1,e})();function S(e,t=V.Default){const n=w();return null===n?re(e,t):Wd(Oe(),n,k(e),t)}function Ai(e,t){return e<<17|t<<2}function It(e){return e>>17&32767}function Dl(e){return 2|e}function Jt(e){return(131068&e)>>2}function Cl(e,t){return-131069&e|t<<2}function wl(e){return 1|e}function Vh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const s=e.data[i];_a(o),s.contentQueries(2,t[i],i)}}}function Ni(e,t,n,r,o,i,s,a,l,c,u){const d=t.blueprint.slice();return d[0]=o,d[2]=76|r,(null!==u||e&&1024&e[2])&&(d[2]|=1024),bd(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[G]=a||e&&e[G],d[12]=l||e&&e[12]||null,d[9]=c||e&&e[9]||null,d[6]=i,d[20]=function cC(){return lC++}(),d[21]=u,d[16]=2==t.type?e[16]:d,d}function vr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function xl(e,t,n,r,o){const i=Md(),s=ha(),l=e.data[t]=function Sb(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l)),l}(e,t,n,r,o),function hD(){return H.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function qr(){const e=H.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ot(i,!0),i}function lo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Nl(e,t,n){va(t);try{const r=e.viewQuery;null!==r&&jl(1,r,n);const o=e.template;null!==o&&Bh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Vh(e,t),e.staticViewQueries&&jl(2,e.viewQuery,n);const i=e.components;null!==i&&function Eb(e,t){for(let n=0;n<t.length;n++)Wb(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,ya()}}function Fi(e,t,n,r){const o=t[2];if(128!=(128&o)){va(t);try{bd(t),function Ad(e){return H.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Bh(e,t,n,2,r);const s=3==(3&o);if(s){const c=e.preOrderCheckHooks;null!==c&&ii(t,c,null)}else{const c=e.preOrderHooks;null!==c&&si(t,c,0,null),Da(t,0)}if(function zb(e){for(let t=$a(e);null!==t;t=Ua(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],i=o[3];0==(512&o[2])&&fa(i,1),o[2]|=512}}}(t),function Ub(e){for(let t=$a(e);null!==t;t=Ua(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];ri(r)&&Fi(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&Vh(e,t),s){const c=e.contentCheckHooks;null!==c&&ii(t,c)}else{const c=e.contentHooks;null!==c&&si(t,c,1),Da(t,1)}!function wb(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Nn(~o);else{const i=o,s=n[++r],a=n[++r];pD(s,i),a(2,t[i])}}}finally{Nn(-1)}}(e,t);const a=e.components;null!==a&&function bb(e,t){for(let n=0;n<t.length;n++)Gb(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&jl(2,l,r),s){const c=e.viewCheckHooks;null!==c&&ii(t,c)}else{const c=e.viewHooks;null!==c&&si(t,c,2),Da(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,fa(t[3],-1))}finally{ya()}}}function Bh(e,t,n,r,o){const i=qe(),s=2&r;try{Nn(-1),s&&t.length>22&&mh(e,t,22,!1),n(r,o)}finally{Nn(i)}}function Fl(e,t,n){if(sa(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}function Ol(e,t,n){!Id()||(function Ob(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||li(n,t),Be(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const l=e.data[a],c=wt(l);c&&Hb(t,n,l);const u=nr(t,e,a,n);Be(u,t),null!==s&&jb(0,a-o,u,l,0,s),c&&(at(n.index,t)[8]=u)}}(e,t,n,st(n,t)),64==(64&n.flags)&&Wh(e,t,n))}function Rl(e,t,n=st){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function Hh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Pl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Pl(e,t,n,r,o,i,s,a,l,c){const u=22+r,d=u+o,f=function Ib(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:U);return n}(u,d),p="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function $h(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Uh(n,t,o,i):r.hasOwnProperty(o)&&Uh(n,t,r[o],i)}return n}function Uh(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function ut(e,t,n,r,o,i,s,a){const l=st(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?($l(e,n,u,r,o),ei(t)&&zh(n,t.index)):3&t.type&&(r=function Tb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function zh(e,t){const n=at(t,e);16&n[2]||(n[2]|=32)}function kl(e,t,n,r){let o=!1;if(Id()){const i=null===r?null:{"":-1},s=function Pb(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(ph(t,s.selectors,!1))if(r||(r=[]),wt(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Ll(e,t,a.length)}else r.unshift(s),Ll(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let a,l;null===s?a=l=null:[a,l]=s,null!==a&&(o=!0,Gh(e,t,n,a,i,l)),i&&function kb(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new A(-301,!1);r.push(t[o],i)}}}(n,r,i)}return n.mergedAttrs=Yr(n.mergedAttrs,n.attrs),o}function Gh(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Ma(li(n,t),e,r[c].type);!function Vb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let c=0;c<r.length;c++){const u=r[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=lo(e,t,r.length,null);for(let c=0;c<r.length;c++){const u=r[c];n.mergedAttrs=Yr(n.mergedAttrs,u.hostAttrs),Bb(e,n,t,l,u),Lb(l,u,o),null!==u.contentQueries&&(n.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(n.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function Ab(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let l=null,c=null;for(let u=t.directiveStart;u<o;u++){const d=i[u],f=n?n.get(d):null,m=f?f.outputs:null;l=$h(d.inputs,u,l,f?f.inputs:null),c=$h(d.outputs,u,c,m);const y=null===l||null===s||hh(t)?null:$b(l,u,s);a.push(y)}null!==l&&(l.hasOwnProperty("class")&&(t.flags|=8),l.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=l,t.outputs=c}(e,n,i)}function Wh(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function gD(){return H.lFrame.currentDirectiveIndex}();try{Nn(i);for(let a=r;a<o;a++){const l=e.data[a],c=t[a];ga(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&Rb(l,c)}}finally{Nn(-1),ga(s)}}function Rb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ll(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function Lb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;wt(t)&&(n[""]=e)}}function Bb(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=xn(o.type)),s=new Zr(i,wt(o),S);e.blueprint[r]=s,n[r]=s,function Nb(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function Fb(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,lo(e,n,o.hostVars,U),o)}function Hb(e,t,n){const r=st(t,e),o=Hh(n),i=e[10],s=Oi(e,Ni(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}function Pt(e,t,n,r,o,i){const s=st(e,t);!function Vl(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?j(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[G],s,i,e.value,n,r,o)}function jb(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l<s.length;){const c=s[l++],u=s[l++],d=s[l++];null!==a?r.setInput(n,d,c,u):n[u]=d}}}function $b(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(i,s[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function qh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Gb(e,t){const n=at(t,e);if(ri(n)){const r=n[1];48&n[2]?Fi(r,n,r.template,n[8]):n[5]>0&&Bl(n)}}function Bl(e){for(let r=$a(e);null!==r;r=Ua(r))for(let o=10;o<r.length;o++){const i=r[o];if(ri(i))if(512&i[2]){const s=i[1];Fi(s,i,s.template,i[8])}else i[5]>0&&Bl(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=at(n[r],e);ri(o)&&o[5]>0&&Bl(o)}}function Wb(e,t){const n=at(t,e),r=n[1];(function qb(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Nl(r,n,n[8])}function Oi(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Hl(e){for(;e;){e[2]|=32;const t=ro(e);if(qy(e)&&!t)return e;e=t}return null}function Ri(e,t,n,r=!0){const o=t[10];o.begin&&o.begin();try{Fi(e,t,e.template,n)}catch(s){throw r&&Kh(t,s),s}finally{o.end&&o.end()}}function jl(e,t,n){_a(0),t(e,n)}function Zh(e){return e[7]||(e[7]=[])}function Qh(e){return e.cleanup||(e.cleanup=[])}function Kh(e,t){const n=e[9],r=n?n.get(gr,null):null;r&&r.handleError(t)}function $l(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],l=t[s],c=e.data[s];null!==c.setInput?c.setInput(l,o,r,a):l[a]=o}}function Pi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Qs(o,a):2==i&&(r=Qs(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ki(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Se(i)),Ct(i))for(let a=10;a<i.length;a++){const l=i[a],c=l[1].firstChild;null!==c&&ki(l[1],l,c,r)}const s=n.type;if(8&s)ki(e,t,n.child,r);else if(32&s){const a=ja(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=Pf(t,n);if(Array.isArray(a))r.push(...a);else{const l=ro(t[16]);ki(l[1],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class co{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return ki(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Ct(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Wa(t,r),di(n,r))}this._attachedToViewContainer=!1}Mf(this._lView[1],this._lView)}onDestroy(t){!function jh(e,t,n,r){const o=Zh(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Qh(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){Hl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ri(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function IC(e,t){oo(e,t,t[G],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=t}}class Zb extends co{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ri(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Ul extends Ii{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=oe(t);return new uo(n,this.ngModule)}}function Jh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Yb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Qo(r);const o=this.injector.get(t,fl,r);return o!==fl||n===fl?o:this.parentInjector.get(t,n,r)}}class uo extends ah{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Gw(e){return e.map(zw).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Jh(this.componentDef.inputs)}get outputs(){return Jh(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof fr?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new Yb(t,i):t,a=s.get(ch,null);if(null===a)throw new A(407,!1);const l=s.get(Iw,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=r?function Mb(e,t,n){return e.selectRootElement(t,n===Ft.ShadowDom)}(c,r,this.componentDef.encapsulation):Ga(c,u,function Qb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),f=this.componentDef.onPush?288:272,p=Pl(0,null,null,1,0,null,null,null,null,null),m=Ni(null,p,null,f,null,null,a,c,l,s,null);let y,E;va(m);try{const M=this.componentDef;let N,C=null;M.findHostDirectiveDefs?(N=[],C=new Map,M.findHostDirectiveDefs(M,N,C),N.push(M)):N=[M];const O=function Xb(e,t){const n=e[1];return e[22]=t,vr(n,22,2,"#host",null)}(m,d),ee=function eE(e,t,n,r,o,i,s,a){const l=o[1];!function tE(e,t,n,r){for(const o of e)t.mergedAttrs=Yr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Pi(t,t.mergedAttrs,!0),null!==n&&Vf(r,n,t))}(r,e,t,s);const c=i.createRenderer(t,n),u=Ni(o,Hh(n),null,n.onPush?32:16,o[e.index],e,i,c,a||null,null,null);return l.firstCreatePass&&Ll(l,e,r.length-1),Oi(o,u),o[e.index]=u}(O,d,M,N,m,a,c);E=da(p,22),d&&function rE(e,t,n,r){if(r)wa(e,n,["ng-version",Mw.full]);else{const{attrs:o,classes:i}=function Ww(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!Et(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&wa(e,n,o),i&&i.length>0&&Lf(e,n,i.join(" "))}}(c,M,d,r),void 0!==n&&function oE(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(E,this.ngContentSelectors,n),y=function nE(e,t,n,r,o,i){const s=Oe(),a=o[1],l=st(s,o);Gh(a,o,s,n,null,r);for(let u=0;u<n.length;u++)Be(nr(o,a,s.directiveStart+u,s),o);Wh(a,o,s),l&&Be(l,o);const c=nr(o,a,s.directiveStart+s.componentOffset,s);if(e[8]=o[8]=c,null!==i)for(const u of i)u(c,t);return Fl(a,s,e),c}(ee,M,N,C,m,[iE]),Nl(p,m,null)}finally{ya()}return new Jb(this.componentType,y,pr(E,m),m,E)}}class Jb extends yw{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new Zb(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const i=this._rootLView;$l(i[1],i,o,t,n),zh(i,this._tNode.index)}}get injector(){return new rr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function iE(){const e=Oe();oi(w()[1],e)}function ae(e){let t=function Xh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(wt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new A(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=zl(e.inputs),s.declaredInputs=zl(e.declaredInputs),s.outputs=zl(e.outputs);const a=o.hostBindings;a&&cE(e,a);const l=o.viewQuery,c=o.contentQueries;if(l&&aE(e,l),c&&lE(e,c),Zs(e.inputs,o.inputs),Zs(e.declaredInputs,o.declaredInputs),Zs(e.outputs,o.outputs),wt(o)&&o.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===ae&&(n=!1)}}t=Object.getPrototypeOf(t)}!function sE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Yr(o.hostAttrs,n=Yr(n,o.hostAttrs))}}(r)}function zl(e){return e===Gt?{}:e===X?[]:e}function aE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function lE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function cE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Li=null;function Ln(){if(!Li){const e=fe.Symbol;if(e&&e.iterator)Li=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Li=r)}}}return Li}function fo(e){return!!Gl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ln()in e)}function Gl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function kt(e,t,n){return e[t]=n}function He(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Vn(e,t,n,r){const o=He(e,t,n);return He(e,t+1,r)||o}function Lt(e,t,n,r){const o=w();return He(o,Xn(),t)&&(J(),Pt(ye(),o,e,t,n,r)),Lt}function Dr(e,t,n,r){return He(e,Xn(),n)?t+j(n)+r:U}function I(e,t,n,r,o,i,s,a){const l=w(),c=J(),u=e+22,d=c.firstCreatePass?function yE(e,t,n,r,o,i,s,a,l){const c=t.consts,u=vr(t,e,4,s||null,un(c,a));kl(t,n,u,un(c,l)),oi(t,u);const d=u.tViews=Pl(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Ot(d,!1);const f=l[G].createComment("");vi(c,l,f,d),Be(f,l),Oi(l,l[u]=qh(f,l,f,d)),ti(d)&&Ol(c,l,d),null!=s&&Rl(l,d,a)}function g(e,t,n){const r=w();return He(r,Xn(),t)&&ut(J(),ye(),r,e,t,r[G],n,!1),g}function Wl(e,t,n,r,o){const s=o?"class":"style";$l(e,n,t.inputs[s],s,r)}function v(e,t,n,r){const o=w(),i=J(),s=22+e,a=o[G],l=o[s]=Ga(a,t,function wD(){return H.lFrame.currentNamespace}()),c=i.firstCreatePass?function wE(e,t,n,r,o,i,s){const a=t.consts,c=vr(t,e,2,o,un(a,i));return kl(t,n,c,un(a,s)),null!==c.attrs&&Pi(c,c.attrs,!1),null!==c.mergedAttrs&&Pi(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,i,o,0,t,n,r):i.data[s];return Ot(c,!0),Vf(a,l,c),32!=(32&c.flags)&&vi(i,o,l,c),0===function aD(){return H.lFrame.elementDepthCount}()&&Be(l,o),function lD(){H.lFrame.elementDepthCount++}(),ti(c)&&(Ol(i,o,c),Fl(i,c,o)),null!==r&&Rl(o,c),v}function _(){let e=Oe();ha()?pa():(e=e.parent,Ot(e,!1));const t=e;!function cD(){H.lFrame.elementDepthCount--}();const n=J();return n.firstCreatePass&&(oi(n,e),sa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function SD(e){return 0!=(8&e.flags)}(t)&&Wl(n,t,w(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function AD(e){return 0!=(16&e.flags)}(t)&&Wl(n,t,w(),t.stylesWithoutHost,!1),_}function R(e,t,n,r){return v(e,t,n,r),_(),R}function Y(e,t,n){const r=w(),o=J(),i=e+22,s=o.firstCreatePass?function bE(e,t,n,r,o){const i=t.consts,s=un(i,r),a=vr(t,e,8,"ng-container",s);return null!==s&&Pi(a,s,!0),kl(t,n,a,un(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Ot(s,!0);const a=r[i]=r[G].createComment("");return vi(o,r,a,s),Be(a,r),ti(s)&&(Ol(o,r,s),Fl(o,s,r)),null!=n&&Rl(r,s),Y}function K(){let e=Oe();const t=J();return ha()?pa():(e=e.parent,Ot(e,!1)),t.firstCreatePass&&(oi(t,e),sa(e)&&t.queries.elementEnd(e)),K}function dt(){return w()}function Bi(e){return!!e&&"function"==typeof e.then}const pp=function hp(e){return!!e&&"function"==typeof e.subscribe};function q(e,t,n,r){const o=w(),i=J(),s=Oe();return function mp(e,t,n,r,o,i,s){const a=ti(r),c=e.firstCreatePass&&Qh(e),u=t[8],d=Zh(t);let f=!0;if(3&r.type||s){const y=st(r,t),E=s?s(y):y,M=d.length,N=s?O=>s(Se(O[r.index])):r.index;let C=null;if(!s&&a&&(C=function EE(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],l=o[i+2];return a.length>l?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==C)(C.__ngLastListenerFn__||C).__ngNextListenerFn__=i,C.__ngLastListenerFn__=i,f=!1;else{i=vp(r,t,u,i,!1);const O=n.listen(E,o,i);d.push(i,O),c&&c.push(o,N,M,M+1)}}else i=vp(r,t,u,i,!1);const p=r.outputs;let m;if(f&&null!==p&&(m=p[o])){const y=m.length;if(y)for(let E=0;E<y;E+=2){const ee=t[m[E]][m[E+1]].subscribe(i),ge=d.length;d.push(i,ee),c&&c.push(o,r.index,ge,-(ge+1))}}}(i,o,o[G],s,e,t,r),q}function _p(e,t,n,r){try{return!1!==n(r)}catch(o){return Kh(e,o),!1}}function vp(e,t,n,r,o){return function i(s){if(s===Function)return r;Hl(e.componentOffset>-1?at(e.index,t):t);let l=_p(t,0,r,s),c=i.__ngNextListenerFn__;for(;c;)l=_p(t,0,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function D(e=1){return function _D(e){return(H.lFrame.contextLView=function vD(e,t){for(;e>0;)t=t[15],e--;return t}(e,H.lFrame.contextLView))[8]}(e)}function Ar(e,t,n){return ql(e,"",t,"",n),Ar}function ql(e,t,n,r,o){const i=w(),s=Dr(i,t,n,r);return s!==U&&ut(J(),ye(),i,e,s,i[G],o,!1),ql}function Sp(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?It(i):Jt(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];xE(e[a],t)&&(l=!0,e[a+1]=r?wl(u):Dl(u)),a=r?It(u):Jt(u)}l&&(e[n+1]=r?Dl(i):wl(i))}function xE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&lr(e,t)>=0}const Te={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ap(e){return e.substring(Te.key,Te.keyEnd)}function Tp(e,t){const n=Te.textEnd;return n===t?-1:(t=Te.keyEnd=function RE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Te.key=t,n),Tr(e,t,n))}function Tr(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Hi(e,t){return function Mt(e,t,n,r){const o=w(),i=J(),s=Qt(2);i.firstUpdatePass&&kp(i,e,s,r),t!==U&&He(o,s,t)&&Vp(i,i.data[qe()],o,o[G],e,o[s+1]=function GE(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ce(fn(e)))),e}(t,n),r,s)}(e,t,null,!0),Hi}function Bt(e,t){for(let n=function FE(e){return function Np(e){Te.key=0,Te.keyEnd=0,Te.value=0,Te.valueEnd=0,Te.textEnd=e.length}(e),Tp(e,Tr(e,0,Te.textEnd))}(t);n>=0;n=Tp(t,n))ct(e,Ap(t),!0)}function Pp(e,t){return t>=e.expandoStartIndex}function kp(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[qe()],s=Pp(e,n);Hp(i,r)&&null===t&&!s&&(t=!1),t=function BE(e,t,n,r){const o=function ma(e){const t=H.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=po(n=Zl(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Zl(o,e,t,n,r),null===i){let l=function HE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Jt(r))return e[It(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Zl(null,e,t,l[1],r),l=po(l,t.attrs,r),function jE(e,t,n,r){e[It(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function $E(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=po(r,e[i].hostAttrs,n);return po(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function AE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=It(s),l=Jt(s);e[r]=n;let u,c=!1;if(Array.isArray(n)){const d=n;u=d[1],(null===u||lr(d,u)>0)&&(c=!0)}else u=n;if(o)if(0!==l){const f=It(e[a+1]);e[r+1]=Ai(f,a),0!==f&&(e[f+1]=Cl(e[f+1],r)),e[a+1]=function fb(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ai(a,0),0!==a&&(e[a+1]=Cl(e[a+1],r)),a=r;else e[r+1]=Ai(l,0),0===a?a=r:e[l+1]=Cl(e[l+1],r),l=r;c&&(e[r+1]=Dl(e[r+1])),Sp(e,u,r,!0),Sp(e,u,r,!1),function TE(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&lr(i,t)>=0&&(n[r+1]=wl(n[r+1]))}(t,u,e,r,i),s=Ai(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function Zl(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=po(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function po(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ct(e,s,!!n||t[++i]))}return void 0===e?null:e}function Vp(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];ji(function xh(e){return 1==(1&e)}(c)?Bp(l,t,n,o,Jt(c),s):void 0)||(ji(i)||function Th(e){return 2==(2&e)}(c)&&(i=Bp(l,null,n,o,a,s)),function PC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:et.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=et.Important),e.setStyle(n,r,o,i))}}(r,s,ni(qe(),n),o,i))}function Bp(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[o+1];f===U&&(f=d?X:void 0);let p=d?Na(f,r):u===r?f:void 0;if(c&&!ji(p)&&(p=Na(l,r)),ji(p)&&(a=p,s))return a;const m=e[o+1];o=s?It(m):Jt(m)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Na(l,r))}return a}function ji(e){return void 0!==e}function Hp(e,t){return 0!=(e.flags&(t?8:16))}function b(e,t=""){const n=w(),r=J(),o=e+22,i=r.firstCreatePass?vr(r,o,1,t,null):r.data[o],s=n[o]=function za(e,t){return e.createText(t)}(n[G],t);vi(r,n,s,i),Ot(i,!1)}function F(e){return Z("",e,""),F}function Z(e,t,n){const r=w(),o=Dr(r,e,t,n);return o!==U&&function Xt(e,t,n){const r=ni(t,e);!function Ef(e,t,n){e.setValue(t,n)}(e[G],r,n)}(r,qe(),o),Z}function Ht(e,t,n){!function St(e,t,n,r){const o=J(),i=Qt(2);o.firstUpdatePass&&kp(o,null,i,r);const s=w();if(n!==U&&He(s,i,n)){const a=o.data[qe()];if(Hp(a,r)&&!Pp(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Qs(l,n||"")),Wl(o,a,s,n,r)}else!function zE(e,t,n,r,o,i,s,a){o===U&&(o=X);let l=0,c=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==u||null!==d;){const f=l<o.length?o[l+1]:void 0,p=c<i.length?i[c+1]:void 0;let y,m=null;u===d?(l+=2,c+=2,f!==p&&(m=d,y=p)):null===d||null!==u&&u<d?(l+=2,m=u):(c+=2,m=d,y=p),null!==m&&Vp(e,t,n,r,m,y,s,a),u=l<o.length?o[l]:null,d=c<i.length?i[c]:null}}(o,a,s,s[G],s[i+1],s[i+1]=function UE(e,t,n){if(null==n||""===n)return X;const r=[],o=fn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if("object"==typeof o)for(const i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,i)}}(ct,Bt,Dr(w(),e,t,n),!0)}const Nr="en-US";let lg=Nr;function Kl(e,t,n,r,o){if(e=k(e),Array.isArray(e))for(let i=0;i<e.length;i++)Kl(e[i],t,n,r,o);else{const i=J(),s=w();let a=Pn(e)?e:k(e.provide),l=sh(e);const c=Oe(),u=1048575&c.providerIndexes,d=c.directiveStart,f=c.providerIndexes>>20;if(Pn(e)||!e.multi){const p=new Zr(l,o,S),m=Xl(a,t,o?u:u+f,d);-1===m?(Ma(li(c,s),i,a),Jl(i,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{const p=Xl(a,t,u+f,d),m=Xl(a,t,u,u+f),y=p>=0&&n[p],E=m>=0&&n[m];if(o&&!E||!o&&!y){Ma(li(c,s),i,a);const M=function cI(e,t,n,r,o){const i=new Zr(e,n,S);return i.multi=[],i.index=t,i.componentProviders=0,Og(i,o,r&&!n),i}(o?lI:aI,n.length,o,r,l);!o&&E&&(n[m].providerFactory=M),Jl(i,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(M),s.push(M)}else Jl(i,e,p>-1?p:m,Og(n[o?m:p],l,!o&&r));!o&&r&&E&&n[m].componentProviders++}}}function Jl(e,t,n,r){const o=Pn(t),i=function fw(e){return!!e.useClass}(t);if(o||i){const l=(i?k(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function Og(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function aI(e,t,n,r){return ec(this.multi,[])}function lI(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=nr(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),ec(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],ec(o,i);return i}function ec(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function _e(e,t=[]){return n=>{n.providersResolver=(r,o)=>function sI(e,t,n){const r=J();if(r.firstCreatePass){const o=wt(e);Kl(n,r.data,r.blueprint,o,!0),Kl(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Fr{}class uI{}class Rg extends Fr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ul(this);const r=function ot(e,t){const n=e[pd]||null;if(!n&&!0===t)throw new Error(`Type ${ce(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Kt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Ch(t,n,[{provide:Fr,useValue:this},{provide:Ii,useValue:this.componentFactoryResolver}],ce(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class tc extends uI{constructor(t){super(),this.moduleType=t}create(t){return new Rg(this.moduleType,t)}}function Wi(e,t,n,r){return function $g(e,t,n,r,o,i){const s=t+n;return He(e,s,o)?kt(e,s+1,i?r.call(i,o):r(o)):Do(e,s+1)}(w(),We(),e,t,n,r)}function rc(e,t,n,r,o){return function Ug(e,t,n,r,o,i,s){const a=t+n;return Vn(e,a,o,i)?kt(e,a+2,s?r.call(s,o,i):r(o,i)):Do(e,a+2)}(w(),We(),e,t,n,r,o)}function Re(e,t,n,r,o,i){return zg(w(),We(),e,t,n,r,o,i)}function Do(e,t){const n=e[t];return n===U?void 0:n}function zg(e,t,n,r,o,i,s,a){const l=t+n;return function Vi(e,t,n,r,o){const i=Vn(e,t,n,r);return He(e,t+2,o)||i}(e,l,o,i,s)?kt(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):Do(e,l+3)}function oc(e){return t=>{setTimeout(e,void 0,t)}}const je=class PI extends js{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=oc(i),o&&(o=oc(o)),s&&(s=oc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Nt&&t.add(a),a}};let en=(()=>{class e{}return e.__NG_ELEMENT_ID__=BI,e})();const LI=en,VI=class extends LI{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Ni(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),Nl(r,o,t),new co(o)}};function BI(){return function qi(e,t){return 4&e.type?new VI(t,e,pr(e,t)):null}(Oe(),w())}let jt=(()=>{class e{}return e.__NG_ELEMENT_ID__=HI,e})();function HI(){return function Kg(e,t){let n;const r=t[e.index];if(Ct(r))n=r;else{let o;if(8&e.type)o=Se(r);else{const i=t[G];o=i.createComment("");const s=st(e,t);On(i,_i(i,s),o,function FC(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=qh(r,t,o,e),Oi(t,n)}return new Qg(n,e,t)}(Oe(),w())}const jI=jt,Qg=class extends jI{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return pr(this._hostTNode,this._hostLView)}get injector(){return new rr(this._hostTNode,this._hostLView)}get parentInjector(){const t=ci(this._hostTNode,this._hostLView);if(jd(t)){const n=tr(t,this._hostLView),r=er(t);return new rr(n[1].data[r+8],n)}return new rr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Yg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function Jr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const l=s?t:new uo(oe(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?c:this.parentInjector).get(fr,null);f&&(i=f)}const u=l.create(c,o,void 0,i);return this.insert(u.hostView,a),u}insert(t,n){const r=t._lView,o=r[1];if(function sD(e){return Ct(e[3])}(r)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=r[3],f=new Qg(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function SC(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Jd(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function AC(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=64}(o,r,s,i);const a=Qa(i,s),l=r[G],c=_i(l,s[7]);return null!==c&&function EC(e,t,n,r,o,i){r[0]=o,r[6]=t,oo(e,r,n,1,o,i)}(o,s[6],l,r,c,a),t.attachToViewContainerRef(),Jd(sc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Yg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Wa(this._lContainer,n);r&&(di(sc(this._lContainer),n),Mf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Wa(this._lContainer,n);return r&&null!=di(sc(this._lContainer),n)?new co(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Yg(e){return e[8]}function sc(e){return e[8]||(e[8]=[])}function Qi(...e){}const Cm=new B("Application Initializer");let Yi=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Qi,this.reject=Qi,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(Bi(i))n.push(i);else if(pp(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(re(Cm,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const bo=new B("AppId",{providedIn:"root",factory:function wm(){return`${mc()}${mc()}${mc()}`}});function mc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const bm=new B("Platform Initializer"),Em=new B("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),DM=new B("appBootstrapListener"),tn=new B("LocaleId",{providedIn:"root",factory:()=>function Ly(e,t=V.Default){return re(e,Qo(t))}(tn,V.Optional|V.SkipSelf)||function CM(){return typeof $localize<"u"&&$localize.locale||Nr}()}),MM=(()=>Promise.resolve(0))();function _c(e){typeof Zone>"u"?MM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class $e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new je(!1),this.onMicrotaskEmpty=new je(!1),this.onStable=new je(!1),this.onError=new je(!1),typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function SM(){let e=fe.requestAnimationFrame,t=fe.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function xM(e){const t=()=>{!function TM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,yc(e),e.isCheckStableRunning=!0,vc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),yc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Sm(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Am(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Sm(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Am(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,yc(e),vc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$e.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if($e.isInAngularZone())throw new A(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,AM,Qi,Qi);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const AM={};function vc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function yc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Sm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Am(e){e._nesting--,vc(e)}class NM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new je,this.onMicrotaskEmpty=new je,this.onStable=new je,this.onError=new je}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Tm=new B(""),Ki=new B("");let wc,Dc=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,wc||(function FM(e){wc=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{$e.assertNotInAngularZone(),_c(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())_c(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(re($e),re(Cc),re(Ki))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Cc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return wc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),mn=null;const xm=new B("AllowMultipleToken"),bc=new B("PlatformDestroyListeners");function Fm(e,t,n=[]){const r=`Platform: ${t}`,o=new B(r);return(i=[])=>{let s=Ec();if(!s||s.injector.get(xm,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function PM(e){if(mn&&!mn.get(xm,!1))throw new A(400,!1);mn=e;const t=e.get(Rm);(function Nm(e){const t=e.get(bm,null);t&&t.forEach(n=>n())})(e)}(function Om(e=[],t){return hn.create({name:t,providers:[{provide:ll,useValue:"platform"},{provide:bc,useValue:new Set([()=>mn=null])},...e]})}(a,r))}return function LM(e){const t=Ec();if(!t)throw new A(401,!1);return t}()}}function Ec(){return mn?.get(Rm)??null}let Rm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function km(e,t){let n;return n="noop"===e?new NM:("zone.js"===e?void 0:e)||new $e(t),n}(r?.ngZone,function Pm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:$e,useValue:o}];return o.run(()=>{const s=hn.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(gr,null);if(!l)throw new A(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{Ji(this._modules,a),c.unsubscribe()})}),function Lm(e,t,n){try{const r=n();return Bi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const c=a.injector.get(Yi);return c.runInitializers(),c.donePromise.then(()=>(function cg(e){rt(e,"Expected localeId to be defined"),"string"==typeof e&&(lg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(tn,Nr)||Nr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Vm({},r);return function OM(e,t,n){const r=new tc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Ic);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new A(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new A(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(bc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(re(hn))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Vm(e,t){return Array.isArray(t)?t.reduce(Vm,e):{...e,...t}}let Ic=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new ze(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new ze(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{$e.assertNotInAngularZone(),_c(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{$e.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Dy(i,s.pipe(function wy(e={}){const{connector:t=(()=>new js),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=null},p=()=>{f(),s=l=null,u=d=!1},m=()=>{const y=s;p(),y?.unsubscribe()};return Wn((y,E)=>{c++,!d&&!u&&f();const M=l=l??t();E.add(()=>{c--,0===c&&!d&&!u&&(a=qs(m,o))}),M.subscribe(E),s||(s=new Ls({next:N=>M.next(N),error:N=>{d=!0,f(),a=qs(p,n,N),M.error(N)},complete:()=>{u=!0,f(),a=qs(p,r),M.complete()}}),Ws(y).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof ah;if(!this._injector.get(Yi).done)throw!o&&function $r(e){const t=oe(e)||Pe(e)||Ge(e);return null!==t&&t.standalone}(n),new A(405,false);let s;s=o?n:this._injector.get(Ii).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function RM(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Fr),c=s.create(hn.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Tm,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Ji(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new A(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ji(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(DM,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ji(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new A(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(re($e),re(fr),re(gr))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ji(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let jm=(()=>{class e{}return e.__NG_ELEMENT_ID__=BM,e})();function BM(e){return function HM(e,t,n){if(ei(e)&&!n){const r=at(e.index,t);return new co(r,r)}return 47&e.type?new co(t[16],t):null}(Oe(),w(),16==(16&e))}class zm{constructor(){}supports(t){return fo(t)}create(t){return new WM(t)}}const GM=(e,t)=>t;class WM{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||GM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<Wm(r,o,i)?n:r,a=Wm(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const c=a-o,u=l-o;if(c!=u){for(let f=0;f<c;f++){const p=f<i.length?i[f]:i[f]=0,m=p+f;u<=m&&m<c&&(i[f]=p+1)}i[s.previousIndex]=u-c}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!fo(t))throw new A(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function mE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Ln()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new qM(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Gm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Gm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class qM{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ZM{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Gm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new ZM,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Wm(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class qm{constructor(){}supports(t){return t instanceof Map||Gl(t)}create(){return new QM}}class QM{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Gl(t)))throw new A(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new YM(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class YM{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Zm(){return new ts([new zm])}let ts=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Zm()),deps:[[e,new pi,new hi]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new A(901,!1)}}return e.\u0275prov=de({token:e,providedIn:"root",factory:Zm}),e})();function Qm(){return new Eo([new qm])}let Eo=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Qm()),deps:[[e,new pi,new hi]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new A(901,!1)}}return e.\u0275prov=de({token:e,providedIn:"root",factory:Qm}),e})();const XM=Fm(null,"core",[]);let e1=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(re(Ic))},e.\u0275mod=cn({type:e}),e.\u0275inj=zt({}),e})();let ns=null;function jn(){return ns}class r1{}const rn=new B("DocumentToken");let So=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(fo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ce(r.item)}`);this._toggleClass(r.item,!0)}),n.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!0)):Object.keys(n).forEach(r=>this._toggleClass(r,!!n[r])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!1)):Object.keys(n).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(n,r){(n=n.trim())&&n.split(/\s+/g).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(S(ts),S(Eo),S(bt),S(kn))},e.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class z1{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Hc=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new z1(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),a_(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{a_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(S(jt),S(en),S(ts))},e.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function a_(e,t){e.context.$implicit=t.item}let Pr=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new W1,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){l_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){l_("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(S(jt),S(en))},e.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class W1{constructor(){this.$implicit=null,this.ngIf=null}}function l_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ce(t)}'.`)}let d_=(()=>{class e{transform(n,r,o){if(null==n)return null;if(!this.supports(n))throw function xt(e,t){return new A(2100,!1)}();return n.slice(r,o)}supports(n){return"string"==typeof n||Array.isArray(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Je({name:"slice",type:e,pure:!1,standalone:!0}),e})(),DS=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=cn({type:e}),e.\u0275inj=zt({}),e})();class JS extends r1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class qc extends JS{static makeCurrent(){!function n1(e){ns||(ns=e)}(new qc)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function XS(){return To=To||document.querySelector("base"),To?To.getAttribute("href"):null}();return null==n?null:function eA(e){hs=hs||document.createElement("a"),hs.setAttribute("href",e);const t=hs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){To=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function $1(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let hs,To=null;const y_=new B("TRANSITION_ID"),nA=[{provide:Cm,useFactory:function tA(e,t,n){return()=>{n.get(Yi).donePromise.then(()=>{const r=jn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[y_,rn,hn],multi:!0}];let oA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const ps=new B("EventManagerPlugins");let gs=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(re(ps),re($e))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class D_{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=jn().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let C_=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),xo=(()=>{class e extends C_{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(w_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(w_))}}return e.\u0275fac=function(n){return new(n||e)(re(rn))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function w_(e){jn().remove(e)}const Zc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qc=/%COMP%/g;function ms(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?ms(e,o,n):(o=o.replace(Qc,e),n.push(o))}return n}function I_(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Yc=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Kc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Ft.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new uA(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case Ft.ShadowDom:return new dA(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=ms(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(re(gs),re(xo),re(bo))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Kc{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Zc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(S_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(S_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Zc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Zc[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(et.DashCase|et.Important)?t.style.setProperty(n,r,o&et.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&et.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,I_(r)):this.eventManager.addEventListener(t,n,I_(r))}}function S_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class uA extends Kc{constructor(t,n,r,o){super(t),this.component=r;const i=ms(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function aA(e){return"_ngcontent-%COMP%".replace(Qc,e)}(o+"-"+r.id),this.hostAttr=function lA(e){return"_nghost-%COMP%".replace(Qc,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class dA extends Kc{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=ms(o.id,o.styles,[]);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let fA=(()=>{class e extends D_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(re(rn))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const A_=["alt","control","meta","shift"],hA={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},pA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let gA=(()=>{class e extends D_{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),A_.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=hA[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),A_.forEach(s=>{s!==o&&(0,pA[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(re(rn))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const yA=Fm(XM,"browser",[{provide:Em,useValue:"browser"},{provide:bm,useValue:function mA(){qc.makeCurrent()},multi:!0},{provide:rn,useFactory:function vA(){return function HC(e){Xa=e}(document),document},deps:[]}]),N_=new B(""),F_=[{provide:Ki,useClass:class rA{addToWindow(t){fe.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},fe.getAllAngularTestabilities=()=>t.getAllTestabilities(),fe.getAllAngularRootElements=()=>t.getAllRootElements(),fe.frameworkStabilizers||(fe.frameworkStabilizers=[]),fe.frameworkStabilizers.push(r=>{const o=fe.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?jn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Tm,useClass:Dc,deps:[$e,Cc,Ki]},{provide:Dc,useClass:Dc,deps:[$e,Cc,Ki]}],O_=[{provide:ll,useValue:"root"},{provide:gr,useFactory:function _A(){return new gr},deps:[]},{provide:ps,useClass:fA,multi:!0,deps:[rn,$e,Em]},{provide:ps,useClass:gA,multi:!0,deps:[rn]},{provide:Yc,useClass:Yc,deps:[gs,xo,bo]},{provide:ch,useExisting:Yc},{provide:C_,useExisting:xo},{provide:xo,useClass:xo,deps:[rn]},{provide:gs,useClass:gs,deps:[ps,$e]},{provide:class IS{},useClass:oA,deps:[]},[]];let DA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:bo,useValue:n.appId},{provide:y_,useExisting:bo},nA]}}}return e.\u0275fac=function(n){return new(n||e)(re(N_,12))},e.\u0275mod=cn({type:e}),e.\u0275inj=zt({providers:[...O_,...F_],imports:[DS,e1]}),e})();typeof window<"u"&&window;const{isArray:xA}=Array,{getPrototypeOf:NA,prototype:FA,keys:OA}=Object;const{isArray:kA}=Array;function BA(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function HA(...e){const t=function dy(e){return ve(Gs(e))?e.pop():void 0}(e),{args:n,keys:r}=function RA(e){if(1===e.length){const t=e[0];if(xA(t))return{args:t,keys:null};if(function PA(e){return e&&"object"==typeof e&&NA(e)===FA}(t)){const n=OA(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new ze(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u<s;u++){let d=!1;In(n[u]).subscribe(new qn(i,f=>{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?BA(r,a):a),i.complete())}))}});return t?o.pipe(function VA(e){return $s(t=>function LA(e,t){return kA(t)?e(...t):e(t)}(e,t))}(t)):o}let k_=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(S(kn),S(bt))},e.\u0275dir=$({type:e}),e})(),$n=(()=>{class e extends k_{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ve(e)))(r||e)}}(),e.\u0275dir=$({type:e,features:[ae]}),e})();const $t=new B("NgValueAccessor"),$A={provide:$t,useExisting:ue(()=>No),multi:!0},zA=new B("CompositionEventMode");let No=(()=>{class e extends k_{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function UA(){const e=jn()?jn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(S(kn),S(bt),S(zA,8))},e.\u0275dir=$({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&q("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[_e([$A]),ae]}),e})();const Ue=new B("NgValidators"),yn=new B("NgAsyncValidators");function q_(e){return null!=e}function Z_(e){return Bi(e)?Ws(e):e}function Q_(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function Y_(e,t){return t.map(n=>n(e))}function K_(e){return e.map(t=>function qA(e){return!e.validate}(t)?t:n=>t.validate(n))}function eu(e){return null!=e?function J_(e){if(!e)return null;const t=e.filter(q_);return 0==t.length?null:function(n){return Q_(Y_(n,t))}}(K_(e)):null}function tu(e){return null!=e?function X_(e){if(!e)return null;const t=e.filter(q_);return 0==t.length?null:function(n){return HA(Y_(n,t).map(Z_)).pipe($s(Q_))}}(K_(e)):null}function ev(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function nu(e){return e?Array.isArray(e)?e:[e]:[]}function vs(e,t){return Array.isArray(e)?e.includes(t):e===t}function rv(e,t){const n=nu(t);return nu(e).forEach(o=>{vs(n,o)||n.push(o)}),n}function ov(e,t){return nu(t).filter(n=>!vs(e,n))}class iv{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=eu(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=tu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ke extends iv{get formDirective(){return null}get path(){return null}}class Dn extends iv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class sv{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ru=(()=>{class e extends sv{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(S(Dn,2))},e.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Hi("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ae]}),e})();const Fo="VALID",Ds="INVALID",kr="PENDING",Oo="DISABLED";function Cs(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class uv{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Fo}get invalid(){return this.status===Ds}get pending(){return this.status==kr}get disabled(){return this.status===Oo}get enabled(){return this.status!==Oo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(rv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(rv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(ov(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(ov(t,this._rawAsyncValidators))}hasValidator(t){return vs(this._rawValidators,t)}hasAsyncValidator(t){return vs(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=kr,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Oo,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Fo,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Fo||this.status===kr)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Oo:Fo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const n=Z_(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new je,this.statusChanges=new je}_calculateStatus(){return this._allControlsDisabled()?Oo:this.errors?Ds:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ds)?Ds:Fo}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Cs(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function tT(e){return Array.isArray(e)?eu(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function nT(e){return Array.isArray(e)?tu(e):e||null}(this._rawAsyncValidators)}}const Ro=new B("CallSetDisabledState",{providedIn:"root",factory:()=>uu}),uu="always";function Po(e,t,n=uu){(function du(e,t){const n=function tv(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(ev(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function nv(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(ev(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Es(t._rawValidators,o),Es(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function iT(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&dv(e,t)})}(e,t),function aT(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function sT(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&dv(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function oT(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Es(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function dv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function pv(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function gv(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const mv=class extends uv{constructor(t=null,n,r){super(function au(e){return(Cs(e)?e.validators:e)||null}(n),function lu(e,t){return(Cs(t)?t.asyncValidators:e)||null}(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Cs(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=gv(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){pv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){pv(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){gv(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},gT={provide:Dn,useExisting:ue(()=>Ms)},yv=(()=>Promise.resolve())();let Ms=(()=>{class e extends Dn{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new mv,this._registered=!1,this.update=new je,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function pu(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===No?n=i:function uT(e){return Object.getPrototypeOf(e.constructor)===$n}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function hu(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Po(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){yv.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function xc(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);yv.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function ws(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(S(Ke,9),S(Ue,10),S(yn,10),S($t,10),S(jm,8),S(Ro,8))},e.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_e([gT]),ae,qt]}),e})(),Cv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=cn({type:e}),e.\u0275inj=zt({}),e})();const DT={provide:$t,useExisting:ue(()=>mu),multi:!0};let mu=(()=>{class e extends $n{writeValue(n){this.setProperty("value",parseFloat(n))}registerOnChange(n){this.onChange=r=>{n(""==r?null:parseFloat(r))}}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ve(e)))(r||e)}}(),e.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(n,r){1&n&&q("change",function(i){return r.onChange(i.target.value)})("input",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},features:[_e([DT]),ae]}),e})();const MT={provide:$t,useExisting:ue(()=>Lo),multi:!0};function Sv(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Lo=(()=>{class e extends $n{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;const o=Sv(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function ST(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ve(e)))(r||e)}}(),e.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){1&n&&q("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[_e([MT]),ae]}),e})(),Du=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(Sv(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(n){return new(n||e)(S(bt),S(kn),S(Lo,9))},e.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const AT={provide:$t,useExisting:ue(()=>Cu),multi:!0};function Av(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Cu=(()=>{class e extends $n{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a<s.length;a++){const c=this._getOptionValue(s[a].value);o.push(c)}}else{const s=r.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const c=this._getOptionValue(l.value);o.push(c)}}}this.value=o,n(o)}}_registerOption(n){const r=(this._idCounter++).toString();return this._optionMap.set(r,n),r}_getOptionId(n){for(const r of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r)._value,n))return r;return null}_getOptionValue(n){const r=function TT(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r)._value:n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ve(e)))(r||e)}}(),e.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,r){1&n&&q("change",function(i){return r.onChange(i.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[_e([AT]),ae]}),e})(),wu=(()=>{class e{constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(Av(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Av(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(n){return new(n||e)(S(bt),S(kn),S(Cu,9))},e.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),VT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=cn({type:e}),e.\u0275inj=zt({imports:[Cv]}),e})(),BT=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ro,useValue:n.callSetDisabledState??uu}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=cn({type:e}),e.\u0275inj=zt({imports:[VT]}),e})();class Vv{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class jT{constructor(){this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class $T{constructor(t){this.et="",this.et=t.et,this.cl=t.cl,this.ucl=t.ucl,this.cal=t.cal,this.tl=t.tl,this.lcq=t.lcq,this.cb=t.cb,this.tb=t.tb,this.bcq=t.bcq,this.cm=t.cm,this.tm=t.tm,this.mcq=t.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class zn{static roundNumber(t,n){return Math.floor(t*Math.pow(10,n))/Math.pow(10,n)}static getNthOrLastIndexOf(t,n,r){let o=0,i=-1,s=-1;for(;o<r&&(s=t.indexOf(n,i+1),-1!==s);)i=s,o++;return i}}class Bv{constructor(){this.name="",this.coveredLines=0,this.uncoveredLines=0,this.coverableLines=0,this.totalLines=0,this.coveredBranches=0,this.totalBranches=0,this.coveredMethods=0,this.totalMethods=0}get coverage(){return 0===this.coverableLines?NaN:zn.roundNumber(100*this.coveredLines/this.coverableLines,1)}get coveragePercentage(){return 0===this.coverableLines?"":this.coverage+"%"}get coverageRatioText(){return 0===this.coverableLines?"-":this.coveredLines+"/"+this.coverableLines}get branchCoverage(){return 0===this.totalBranches?NaN:zn.roundNumber(100*this.coveredBranches/this.totalBranches,1)}get branchCoveragePercentage(){return 0===this.totalBranches?"":this.branchCoverage+"%"}get branchCoverageRatioText(){return 0===this.totalBranches?"-":this.coveredBranches+"/"+this.totalBranches}get methodCoverage(){return 0===this.totalMethods?NaN:zn.roundNumber(100*this.coveredMethods/this.totalMethods,1)}get methodCoveragePercentage(){return 0===this.totalMethods?"":this.methodCoverage+"%"}get methodCoverageRatioText(){return 0===this.totalMethods?"-":this.coveredMethods+"/"+this.totalMethods}}class Eu extends Bv{constructor(t,n){super(),this.reportPath="",this._coverageType="",this.coverageByMethod="",this.lineCoverageHistory=[],this.branchCoverageHistory=[],this.methodCoverageHistory=[],this.historicCoverages=[],this.currentHistoricCoverage=null,this.name=t.name,this.reportPath=t.rp?t.rp+n:t.rp,this.coveredLines=t.cl,this.uncoveredLines=t.ucl,this.coverableLines=t.cal,this.totalLines=t.tl,this._coverageType=t.ct,this.coverageByMethod=t.cbm,this.coveredBranches=t.cb,this.totalBranches=t.tb,this.coveredMethods=t.cm,this.totalMethods=t.tm,this.lineCoverageHistory=t.lch,this.branchCoverageHistory=t.bch,this.methodCoverageHistory=t.mch,t.hc.forEach(r=>{this.historicCoverages.push(new $T(r))})}get coverage(){return 0===this.coverableLines?"-"!==this.coverageByMethod?parseFloat(this.coverageByMethod):NaN:zn.roundNumber(100*this.coveredLines/this.coverableLines,1)}get coverageType(){return 0===this.coverableLines?"-"!==this.coverageByMethod?this._coverageType:"":this._coverageType}visible(t,n){if(""!==t&&-1===this.name.toLowerCase().indexOf(t.toLowerCase()))return!1;if(""===n||null===this.currentHistoricCoverage)return!0;if("allChanges"===n){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===n){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(t){if(this.currentHistoricCoverage=null,""!==t)for(let n=0;n<this.historicCoverages.length;n++)if(this.historicCoverages[n].et===t){this.currentHistoricCoverage=this.historicCoverages[n];break}}}class Cn extends Bv{constructor(t,n){super(),this.subElements=[],this.classes=[],this.collapsed=!1,this.name=t,this.collapsed=t.indexOf("Test")>-1&&null===n}visible(t,n){if(""!==t&&this.name.toLowerCase().indexOf(t.toLowerCase())>-1)return!0;for(let r=0;r<this.subElements.length;r++)if(this.subElements[r].visible(t,n))return!0;for(let r=0;r<this.classes.length;r++)if(this.classes[r].visible(t,n))return!0;return!1}insertClass(t,n){if(this.coveredLines+=t.coveredLines,this.uncoveredLines+=t.uncoveredLines,this.coverableLines+=t.coverableLines,this.totalLines+=t.totalLines,this.coveredBranches+=t.coveredBranches,this.totalBranches+=t.totalBranches,this.coveredMethods+=t.coveredMethods,this.totalMethods+=t.totalMethods,null===n)return void this.classes.push(t);let r=zn.getNthOrLastIndexOf(t.name,".",n),o=-1===r?"-":t.name.substr(0,r);for(let s=0;s<this.subElements.length;s++)if(this.subElements[s].name===o)return void this.subElements[s].insertClass(t,null);let i=new Cn(o,this);this.subElements.push(i),i.insertClass(t,null)}collapse(){this.collapsed=!0;for(let t=0;t<this.subElements.length;t++)this.subElements[t].collapse()}expand(){this.collapsed=!1;for(let t=0;t<this.subElements.length;t++)this.subElements[t].expand()}toggleCollapse(t){t.preventDefault(),this.collapsed=!this.collapsed}updateCurrentHistoricCoverage(t){for(let n=0;n<this.subElements.length;n++)this.subElements[n].updateCurrentHistoricCoverage(t);for(let n=0;n<this.classes.length;n++)this.classes[n].updateCurrentHistoricCoverage(t)}static sortCodeElementViewModels(t,n,r){let o=r?-1:1,i=r?1:-1;"name"===n?t.sort(function(s,a){return s.name===a.name?0:s.name<a.name?o:i}):"covered"===n?t.sort(function(s,a){return s.coveredLines===a.coveredLines?0:s.coveredLines<a.coveredLines?o:i}):"uncovered"===n?t.sort(function(s,a){return s.uncoveredLines===a.uncoveredLines?0:s.uncoveredLines<a.uncoveredLines?o:i}):"coverable"===n?t.sort(function(s,a){return s.coverableLines===a.coverableLines?0:s.coverableLines<a.coverableLines?o:i}):"total"===n?t.sort(function(s,a){return s.totalLines===a.totalLines?0:s.totalLines<a.totalLines?o:i}):"coverage"===n?t.sort(function(s,a){return s.coverage===a.coverage?0:isNaN(s.coverage)?o:isNaN(a.coverage)?i:s.coverage<a.coverage?o:i}):"branchcoverage"===n?t.sort(function(s,a){return s.branchCoverage===a.branchCoverage?0:isNaN(s.branchCoverage)?o:isNaN(a.branchCoverage)?i:s.branchCoverage<a.branchCoverage?o:i}):"methodcoverage"===n&&t.sort(function(s,a){return s.methodCoverage===a.methodCoverage?0:isNaN(s.methodCoverage)?o:isNaN(a.methodCoverage)?i:s.methodCoverage<a.methodCoverage?o:i})}changeSorting(t,n){Cn.sortCodeElementViewModels(this.subElements,t,n);let r=n?-1:1,o=n?1:-1;"name"===t?this.classes.sort(function(i,s){return i.name===s.name?0:i.name<s.name?r:o}):"covered"===t?this.classes.sort(function(i,s){return i.coveredLines===s.coveredLines?0:i.coveredLines<s.coveredLines?r:o}):"uncovered"===t?this.classes.sort(function(i,s){return i.uncoveredLines===s.uncoveredLines?0:i.uncoveredLines<s.uncoveredLines?r:o}):"coverable"===t?this.classes.sort(function(i,s){return i.coverableLines===s.coverableLines?0:i.coverableLines<s.coverableLines?r:o}):"total"===t?this.classes.sort(function(i,s){return i.totalLines===s.totalLines?0:i.totalLines<s.totalLines?r:o}):"coverage"===t?this.classes.sort(function(i,s){return i.coverage===s.coverage?0:isNaN(i.coverage)?r:isNaN(s.coverage)?o:i.coverage<s.coverage?r:o}):"covered_branches"===t?this.classes.sort(function(i,s){return i.coveredBranches===s.coveredBranches?0:i.coveredBranches<s.coveredBranches?r:o}):"total_branches"===t?this.classes.sort(function(i,s){return i.totalBranches===s.totalBranches?0:i.totalBranches<s.totalBranches?r:o}):"branchcoverage"===t?this.classes.sort(function(i,s){return i.branchCoverage===s.branchCoverage?0:isNaN(i.branchCoverage)?r:isNaN(s.branchCoverage)?o:i.branchCoverage<s.branchCoverage?r:o}):"covered_methods"===t?this.classes.sort(function(i,s){return i.coveredMethods===s.coveredMethods?0:i.coveredMethods<s.coveredMethods?r:o}):"total_methods"===t?this.classes.sort(function(i,s){return i.totalMethods===s.totalMethods?0:i.totalMethods<s.totalMethods?r:o}):"methodcoverage"===t&&this.classes.sort(function(i,s){return i.methodCoverage===s.methodCoverage?0:isNaN(i.methodCoverage)?r:isNaN(s.methodCoverage)?o:i.methodCoverage<s.methodCoverage?r:o});for(let i=0;i<this.subElements.length;i++)this.subElements[i].changeSorting(t,n)}}class Gn{get nativeWindow(){return function UT(){return window}()}static#e=this.\u0275fac=function(n){return new(n||Gn)};static#t=this.\u0275prov=de({token:Gn,factory:Gn.\u0275fac})}function zT(e,t){1&e&&R(0,"td",3)}function GT(e,t){1&e&&R(0,"td"),2&e&&Ht("green ",D().greenClass,"")}function WT(e,t){1&e&&R(0,"td"),2&e&&Ht("red ",D().redClass,"")}class Vo{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}static#e=this.\u0275fac=function(n){return new(n||Vo)};static#t=this.\u0275cmp=ln({type:Vo,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(n,r){1&n&&(v(0,"table",0),I(1,zT,1,0,"td",1),I(2,GT,1,3,"td",2),I(3,WT,1,3,"td",2),_()),2&n&&(h(1),g("ngIf",r.grayVisible),h(1),g("ngIf",r.greenVisible),h(1),g("ngIf",r.redVisible))},dependencies:[Pr],encapsulation:2,changeDetection:0})}const qT=["codeelement-row",""];function ZT(e,t){if(1&e&&(v(0,"th",2),b(1),_()),2&e){const n=D();h(1),F(n.element.coveredBranches)}}function QT(e,t){if(1&e&&(v(0,"th",2),b(1),_()),2&e){const n=D();h(1),F(n.element.totalBranches)}}function YT(e,t){if(1&e&&(v(0,"th",3),b(1),_()),2&e){const n=D();g("title",n.element.branchCoverageRatioText),h(1),F(n.element.branchCoveragePercentage)}}function KT(e,t){if(1&e&&(v(0,"th",2),R(1,"coverage-bar",4),_()),2&e){const n=D();h(1),g("percentage",n.element.branchCoverage)}}function JT(e,t){if(1&e&&(v(0,"th",2),b(1),_()),2&e){const n=D();h(1),F(n.element.coveredMethods)}}function XT(e,t){if(1&e&&(v(0,"th",2),b(1),_()),2&e){const n=D();h(1),F(n.element.totalMethods)}}function ex(e,t){if(1&e&&(v(0,"th",3),b(1),_()),2&e){const n=D();g("title",n.element.methodCoverageRatioText),h(1),F(n.element.methodCoveragePercentage)}}function tx(e,t){if(1&e&&(v(0,"th",2),R(1,"coverage-bar",4),_()),2&e){const n=D();h(1),g("percentage",n.element.methodCoverage)}}const nx=function(e,t){return{"icon-plus":e,"icon-minus":t}};class Ss{constructor(){this.collapsed=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1}static#e=this.\u0275fac=function(n){return new(n||Ss)};static#t=this.\u0275cmp=ln({type:Ss,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable"},attrs:qT,decls:24,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],[1,"right"],[1,"right",3,"title"],[3,"percentage"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"]],template:function(n,r){1&n&&(v(0,"th")(1,"a",0),q("click",function(i){return r.element.toggleCollapse(i)}),R(2,"i",1),b(3),_()(),v(4,"th",2),b(5),_(),v(6,"th",2),b(7),_(),v(8,"th",2),b(9),_(),v(10,"th",2),b(11),_(),v(12,"th",3),b(13),_(),v(14,"th",2),R(15,"coverage-bar",4),_(),I(16,ZT,2,1,"th",5),I(17,QT,2,1,"th",5),I(18,YT,2,2,"th",6),I(19,KT,2,1,"th",5),I(20,JT,2,1,"th",5),I(21,XT,2,1,"th",5),I(22,ex,2,2,"th",6),I(23,tx,2,1,"th",5)),2&n&&(h(2),g("ngClass",rc(17,nx,r.element.collapsed,!r.element.collapsed)),h(1),Z(" ",r.element.name,""),h(2),F(r.element.coveredLines),h(2),F(r.element.uncoveredLines),h(2),F(r.element.coverableLines),h(2),F(r.element.totalLines),h(1),g("title",r.element.coverageRatioText),h(1),F(r.element.coveragePercentage),h(2),g("percentage",r.element.coverage),h(1),g("ngIf",r.branchCoverageAvailable),h(1),g("ngIf",r.branchCoverageAvailable),h(1),g("ngIf",r.branchCoverageAvailable),h(1),g("ngIf",r.branchCoverageAvailable),h(1),g("ngIf",r.methodCoverageAvailable),h(1),g("ngIf",r.methodCoverageAvailable),h(1),g("ngIf",r.methodCoverageAvailable),h(1),g("ngIf",r.methodCoverageAvailable))},dependencies:[So,Pr,Vo],encapsulation:2,changeDetection:0})}const rx=["coverage-history-chart",""];class As{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let n="";for(let r=0;r<t.length;r++)n+=0===r?"M":"L",n+=`${zn.roundNumber(30*r/(t.length-1),1)}`,n+=`,${zn.roundNumber(18-18*t[r]/100,1)}`;this.path=n}else this.path=null}static#e=this.\u0275fac=function(n){return new(n||As)};static#t=this.\u0275cmp=ln({type:As,selectors:[["","coverage-history-chart",""]],inputs:{historicCoverages:"historicCoverages"},attrs:rx,decls:3,vars:1,consts:[["width","30","height","18",1,"ct-chart-line"],[1,"ct-series","ct-series-a"],[1,"ct-line"]],template:function(n,r){1&n&&(function kd(){H.lFrame.currentNamespace="svg"}(),v(0,"svg",0)(1,"g",1),R(2,"path",2),_()()),2&n&&(h(2),Lt("d",r.path))},encapsulation:2,changeDetection:0})}const ox=["class-row",""];function ix(e,t){if(1&e&&(v(0,"a",8),b(1),_()),2&e){const n=D();g("href",n.clazz.reportPath,dr),h(1),F(n.clazz.name)}}function sx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D();h(1),F(n.clazz.name)}}function ax(e,t){if(1&e&&(Y(0),v(1,"div"),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D();h(1),Ht("currenthistory ",n.getClassName(n.clazz.coveredLines,n.clazz.currentHistoricCoverage.cl),""),h(1),Z(" ",n.clazz.coveredLines," "),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),Z(" ",n.clazz.currentHistoricCoverage.cl," ")}}function lx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D();h(1),Z(" ",n.clazz.coveredLines," ")}}function cx(e,t){if(1&e&&(Y(0),v(1,"div"),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D();h(1),Ht("currenthistory ",n.getClassName(n.clazz.currentHistoricCoverage.ucl,n.clazz.uncoveredLines),""),h(1),Z(" ",n.clazz.uncoveredLines," "),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),Z(" ",n.clazz.currentHistoricCoverage.ucl," ")}}function ux(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D();h(1),Z(" ",n.clazz.uncoveredLines," ")}}function dx(e,t){if(1&e&&(Y(0),v(1,"div",10),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D();h(2),F(n.clazz.coverableLines),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),F(n.clazz.currentHistoricCoverage.cal)}}function fx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D();h(1),Z(" ",n.clazz.coverableLines," ")}}function hx(e,t){if(1&e&&(Y(0),v(1,"div",10),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D();h(2),F(n.clazz.totalLines),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),F(n.clazz.currentHistoricCoverage.tl)}}function px(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D();h(1),Z(" ",n.clazz.totalLines," ")}}const Iu=function(e){return{historiccoverageoffset:e}};function gx(e,t){if(1&e&&R(0,"div",11),2&e){const n=D();Ar("title",n.translations.history+": "+n.translations.coverage),g("historicCoverages",n.clazz.lineCoverageHistory)("ngClass",Wi(3,Iu,null!==n.clazz.currentHistoricCoverage))}}function mx(e,t){if(1&e&&(Y(0),v(1,"div"),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D();h(1),Ht("currenthistory ",n.getClassName(n.clazz.coverage,n.clazz.currentHistoricCoverage.lcq),""),h(1),Z(" ",n.clazz.coveragePercentage," "),h(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.coverageRatioText),h(1),Z("",n.clazz.currentHistoricCoverage.lcq,"%")}}function _x(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D();h(1),Z(" ",n.clazz.coveragePercentage," ")}}function vx(e,t){if(1&e&&(Y(0),v(1,"div"),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D(2);h(1),Ht("currenthistory ",n.getClassName(n.clazz.coveredBranches,n.clazz.currentHistoricCoverage.cb),""),h(1),Z(" ",n.clazz.coveredBranches," "),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),Z(" ",n.clazz.currentHistoricCoverage.cb," ")}}function yx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D(2);h(1),Z(" ",n.clazz.coveredBranches," ")}}function Dx(e,t){if(1&e&&(v(0,"td",2),I(1,vx,5,6,"ng-container",1),I(2,yx,2,1,"ng-container",1),_()),2&e){const n=D();h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function Cx(e,t){if(1&e&&(Y(0),v(1,"div",10),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D(2);h(2),F(n.clazz.totalBranches),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),F(n.clazz.currentHistoricCoverage.tb)}}function wx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D(2);h(1),Z(" ",n.clazz.totalBranches," ")}}function bx(e,t){if(1&e&&(v(0,"td",2),I(1,Cx,5,3,"ng-container",1),I(2,wx,2,1,"ng-container",1),_()),2&e){const n=D();h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function Ex(e,t){if(1&e&&R(0,"div",13),2&e){const n=D(2);Ar("title",n.translations.history+": "+n.translations.branchCoverage),g("historicCoverages",n.clazz.branchCoverageHistory)("ngClass",Wi(3,Iu,null!==n.clazz.currentHistoricCoverage))}}function Ix(e,t){if(1&e&&(Y(0),v(1,"div"),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D(2);h(1),Ht("currenthistory ",n.getClassName(n.clazz.branchCoverage,n.clazz.currentHistoricCoverage.bcq),""),h(1),Z(" ",n.clazz.branchCoveragePercentage," "),h(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.branchCoverageRatioText),h(1),Z("",n.clazz.currentHistoricCoverage.bcq,"%")}}function Mx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D(2);h(1),Z(" ",n.clazz.branchCoveragePercentage," ")}}function Sx(e,t){if(1&e&&(v(0,"td",3),I(1,Ex,1,5,"div",12),I(2,Ix,5,6,"ng-container",1),I(3,Mx,2,1,"ng-container",1),_()),2&e){const n=D();g("title",n.clazz.branchCoverageRatioText),h(1),g("ngIf",n.clazz.branchCoverageHistory.length>1),h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function Ax(e,t){if(1&e&&(v(0,"td",2),R(1,"coverage-bar",5),_()),2&e){const n=D();h(1),g("percentage",n.clazz.branchCoverage)}}function Tx(e,t){if(1&e&&(Y(0),v(1,"div"),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D(2);h(1),Ht("currenthistory ",n.getClassName(n.clazz.coveredMethods,n.clazz.currentHistoricCoverage.cm),""),h(1),Z(" ",n.clazz.coveredMethods," "),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),Z(" ",n.clazz.currentHistoricCoverage.cm," ")}}function xx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D(2);h(1),Z(" ",n.clazz.coveredMethods," ")}}function Nx(e,t){if(1&e&&(v(0,"td",2),I(1,Tx,5,6,"ng-container",1),I(2,xx,2,1,"ng-container",1),_()),2&e){const n=D();h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function Fx(e,t){if(1&e&&(Y(0),v(1,"div",10),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D(2);h(2),F(n.clazz.totalMethods),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),F(n.clazz.currentHistoricCoverage.tm)}}function Ox(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D(2);h(1),Z(" ",n.clazz.totalMethods," ")}}function Rx(e,t){if(1&e&&(v(0,"td",2),I(1,Fx,5,3,"ng-container",1),I(2,Ox,2,1,"ng-container",1),_()),2&e){const n=D();h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function Px(e,t){if(1&e&&R(0,"div",15),2&e){const n=D(2);Ar("title",n.translations.history+": "+n.translations.methodCoverage),g("historicCoverages",n.clazz.methodCoverageHistory)("ngClass",Wi(3,Iu,null!==n.clazz.currentHistoricCoverage))}}function kx(e,t){if(1&e&&(Y(0),v(1,"div"),b(2),_(),v(3,"div",9),b(4),_(),K()),2&e){const n=D(2);h(1),Ht("currenthistory ",n.getClassName(n.clazz.methodCoverage,n.clazz.currentHistoricCoverage.mcq),""),h(1),Z(" ",n.clazz.methodCoveragePercentage," "),h(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.methodCoverageRatioText),h(1),Z("",n.clazz.currentHistoricCoverage.mcq,"%")}}function Lx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D(2);h(1),Z(" ",n.clazz.methodCoveragePercentage," ")}}function Vx(e,t){if(1&e&&(v(0,"td",3),I(1,Px,1,5,"div",14),I(2,kx,5,6,"ng-container",1),I(3,Lx,2,1,"ng-container",1),_()),2&e){const n=D();g("title",n.clazz.methodCoverageRatioText),h(1),g("ngIf",n.clazz.methodCoverageHistory.length>1),h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function Bx(e,t){if(1&e&&(v(0,"td",2),R(1,"coverage-bar",5),_()),2&e){const n=D();h(1),g("percentage",n.clazz.methodCoverage)}}class Ts{constructor(){this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.historyComparisionDate=""}getClassName(t,n){return t>n?"lightgreen":t<n?"lightred":"lightgraybg"}static#e=this.\u0275fac=function(n){return new(n||Ts)};static#t=this.\u0275cmp=ln({type:Ts,selectors:[["","class-row",""]],inputs:{clazz:"clazz",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",historyComparisionDate:"historyComparisionDate"},attrs:ox,decls:29,vars:23,consts:[[3,"href",4,"ngIf"],[4,"ngIf"],[1,"right"],[1,"right",3,"title"],["coverage-history-chart","","class","tinylinecoveragechart ct-chart",3,"historicCoverages","ngClass","title",4,"ngIf"],[3,"percentage"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],[3,"href"],[3,"title"],[1,"currenthistory"],["coverage-history-chart","",1,"tinylinecoveragechart","ct-chart",3,"historicCoverages","ngClass","title"],["coverage-history-chart","","class","tinybranchcoveragechart ct-chart",3,"historicCoverages","ngClass","title",4,"ngIf"],["coverage-history-chart","",1,"tinybranchcoveragechart","ct-chart",3,"historicCoverages","ngClass","title"],["coverage-history-chart","","class","tinymethodcoveragechart ct-chart",3,"historicCoverages","ngClass","title",4,"ngIf"],["coverage-history-chart","",1,"tinymethodcoveragechart","ct-chart",3,"historicCoverages","ngClass","title"]],template:function(n,r){1&n&&(v(0,"td"),I(1,ix,2,2,"a",0),I(2,sx,2,1,"ng-container",1),_(),v(3,"td",2),I(4,ax,5,6,"ng-container",1),I(5,lx,2,1,"ng-container",1),_(),v(6,"td",2),I(7,cx,5,6,"ng-container",1),I(8,ux,2,1,"ng-container",1),_(),v(9,"td",2),I(10,dx,5,3,"ng-container",1),I(11,fx,2,1,"ng-container",1),_(),v(12,"td",2),I(13,hx,5,3,"ng-container",1),I(14,px,2,1,"ng-container",1),_(),v(15,"td",3),I(16,gx,1,5,"div",4),I(17,mx,5,6,"ng-container",1),I(18,_x,2,1,"ng-container",1),_(),v(19,"td",2),R(20,"coverage-bar",5),_(),I(21,Dx,3,2,"td",6),I(22,bx,3,2,"td",6),I(23,Sx,4,4,"td",7),I(24,Ax,2,1,"td",6),I(25,Nx,3,2,"td",6),I(26,Rx,3,2,"td",6),I(27,Vx,4,4,"td",7),I(28,Bx,2,1,"td",6)),2&n&&(h(1),g("ngIf",""!==r.clazz.reportPath),h(1),g("ngIf",""===r.clazz.reportPath),h(2),g("ngIf",null!==r.clazz.currentHistoricCoverage),h(1),g("ngIf",null===r.clazz.currentHistoricCoverage),h(2),g("ngIf",null!==r.clazz.currentHistoricCoverage),h(1),g("ngIf",null===r.clazz.currentHistoricCoverage),h(2),g("ngIf",null!==r.clazz.currentHistoricCoverage),h(1),g("ngIf",null===r.clazz.currentHistoricCoverage),h(2),g("ngIf",null!==r.clazz.currentHistoricCoverage),h(1),g("ngIf",null===r.clazz.currentHistoricCoverage),h(1),g("title",r.clazz.coverageType+": "+r.clazz.coverageRatioText),h(1),g("ngIf",r.clazz.lineCoverageHistory.length>1),h(1),g("ngIf",null!==r.clazz.currentHistoricCoverage),h(1),g("ngIf",null===r.clazz.currentHistoricCoverage),h(2),g("percentage",r.clazz.coverage),h(1),g("ngIf",r.branchCoverageAvailable),h(1),g("ngIf",r.branchCoverageAvailable),h(1),g("ngIf",r.branchCoverageAvailable),h(1),g("ngIf",r.branchCoverageAvailable),h(1),g("ngIf",r.methodCoverageAvailable),h(1),g("ngIf",r.methodCoverageAvailable),h(1),g("ngIf",r.methodCoverageAvailable),h(1),g("ngIf",r.methodCoverageAvailable))},dependencies:[So,Pr,As,Vo],encapsulation:2,changeDetection:0})}function Hx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D(2);h(1),F(n.translations.noGrouping)}}function jx(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D(2);h(1),F(n.translations.byAssembly)}}function $x(e,t){if(1&e&&(Y(0),b(1),K()),2&e){const n=D(2);h(1),F(n.translations.byNamespace+" "+n.settings.grouping)}}function Ux(e,t){if(1&e&&(v(0,"option",31),b(1),_()),2&e){const n=t.$implicit;g("value",n),h(1),F(n)}}function zx(e,t){1&e&&R(0,"br")}function Gx(e,t){if(1&e&&(v(0,"option",39),b(1),_()),2&e){const n=D(4);h(1),Z(" ",n.translations.branchCoverageIncreaseOnly," ")}}function Wx(e,t){if(1&e&&(v(0,"option",40),b(1),_()),2&e){const n=D(4);h(1),Z(" ",n.translations.branchCoverageDecreaseOnly," ")}}function qx(e,t){if(1&e&&(v(0,"option",41),b(1),_()),2&e){const n=D(4);h(1),Z(" ",n.translations.methodCoverageIncreaseOnly," ")}}function Zx(e,t){if(1&e&&(v(0,"option",42),b(1),_()),2&e){const n=D(4);h(1),Z(" ",n.translations.methodCoverageDecreaseOnly," ")}}function Qx(e,t){if(1&e){const n=dt();v(0,"div")(1,"select",28),q("ngModelChange",function(o){return ie(n),se(D(3).settings.historyComparisionType=o)}),v(2,"option",29),b(3),_(),v(4,"option",32),b(5),_(),v(6,"option",33),b(7),_(),v(8,"option",34),b(9),_(),I(10,Gx,2,1,"option",35),I(11,Wx,2,1,"option",36),I(12,qx,2,1,"option",37),I(13,Zx,2,1,"option",38),_()()}if(2&e){const n=D(3);h(1),g("ngModel",n.settings.historyComparisionType),h(2),F(n.translations.filter),h(2),F(n.translations.allChanges),h(2),F(n.translations.lineCoverageIncreaseOnly),h(2),F(n.translations.lineCoverageDecreaseOnly),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable)}}function Yx(e,t){if(1&e){const n=dt();Y(0),v(1,"div"),b(2),v(3,"select",28),q("ngModelChange",function(o){return ie(n),se(D(2).settings.historyComparisionDate=o)})("ngModelChange",function(){return ie(n),se(D(2).updateCurrentHistoricCoverage())}),v(4,"option",29),b(5),_(),I(6,Ux,2,2,"option",30),_()(),I(7,zx,1,0,"br",0),I(8,Qx,14,9,"div",0),K()}if(2&e){const n=D(2);h(2),Z(" ",n.translations.compareHistory," "),h(1),g("ngModel",n.settings.historyComparisionDate),h(2),F(n.translations.date),h(1),g("ngForOf",n.historicCoverageExecutionTimes),h(1),g("ngIf",""!==n.settings.historyComparisionDate),h(1),g("ngIf",""!==n.settings.historyComparisionDate)}}function Kx(e,t){1&e&&R(0,"col",10)}function Jx(e,t){1&e&&R(0,"col",13)}function Xx(e,t){1&e&&R(0,"col",14)}function eN(e,t){1&e&&R(0,"col",15)}function tN(e,t){1&e&&R(0,"col",10)}function nN(e,t){1&e&&R(0,"col",13)}function rN(e,t){1&e&&R(0,"col",14)}function oN(e,t){1&e&&R(0,"col",15)}function iN(e,t){if(1&e&&(v(0,"th",43),b(1),_()),2&e){const n=D(2);h(1),F(n.translations.branchCoverage)}}function sN(e,t){if(1&e&&(v(0,"th",43),b(1),_()),2&e){const n=D(2);h(1),F(n.translations.methodCoverage)}}const vt=function(e,t,n){return{"icon-up-dir_active":e,"icon-down-dir_active":t,"icon-down-dir":n}};function aN(e,t){if(1&e){const n=dt();v(0,"th",5)(1,"a",2),q("click",function(o){return ie(n),se(D(2).updateSorting("covered_branches",o))}),R(2,"i",23),b(3),_()()}if(2&e){const n=D(2);h(2),g("ngClass",Re(2,vt,"covered_branches"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"covered_branches"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"covered_branches"!==n.settings.sortBy)),h(1),F(n.translations.covered)}}function lN(e,t){if(1&e){const n=dt();v(0,"th",5)(1,"a",2),q("click",function(o){return ie(n),se(D(2).updateSorting("total_branches",o))}),R(2,"i",23),b(3),_()()}if(2&e){const n=D(2);h(2),g("ngClass",Re(2,vt,"total_branches"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"total_branches"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"total_branches"!==n.settings.sortBy)),h(1),F(n.translations.total)}}function cN(e,t){if(1&e){const n=dt();v(0,"th",24)(1,"a",2),q("click",function(o){return ie(n),se(D(2).updateSorting("branchcoverage",o))}),R(2,"i",23),b(3),_()()}if(2&e){const n=D(2);h(2),g("ngClass",Re(2,vt,"branchcoverage"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"branchcoverage"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"branchcoverage"!==n.settings.sortBy)),h(1),F(n.translations.percentage)}}function uN(e,t){if(1&e){const n=dt();v(0,"th",5)(1,"a",2),q("click",function(o){return ie(n),se(D(2).updateSorting("covered_methods",o))}),R(2,"i",23),b(3),_()()}if(2&e){const n=D(2);h(2),g("ngClass",Re(2,vt,"covered_methods"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"covered_methods"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"covered_methods"!==n.settings.sortBy)),h(1),F(n.translations.covered)}}function dN(e,t){if(1&e){const n=dt();v(0,"th",5)(1,"a",2),q("click",function(o){return ie(n),se(D(2).updateSorting("total_methods",o))}),R(2,"i",23),b(3),_()()}if(2&e){const n=D(2);h(2),g("ngClass",Re(2,vt,"total_methods"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"total_methods"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"total_methods"!==n.settings.sortBy)),h(1),F(n.translations.total)}}function fN(e,t){if(1&e){const n=dt();v(0,"th",24)(1,"a",2),q("click",function(o){return ie(n),se(D(2).updateSorting("methodcoverage",o))}),R(2,"i",23),b(3),_()()}if(2&e){const n=D(2);h(2),g("ngClass",Re(2,vt,"methodcoverage"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"methodcoverage"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"methodcoverage"!==n.settings.sortBy)),h(1),F(n.translations.percentage)}}function hN(e,t){if(1&e&&R(0,"tr",45),2&e){const n=D().$implicit,r=D(2);g("element",n)("collapsed",n.collapsed)("branchCoverageAvailable",r.branchCoverageAvailable)("methodCoverageAvailable",r.methodCoverageAvailable)}}function pN(e,t){if(1&e&&R(0,"tr",47),2&e){const n=D().$implicit,r=D(3);g("clazz",n)("translations",r.translations)("branchCoverageAvailable",r.branchCoverageAvailable)("methodCoverageAvailable",r.methodCoverageAvailable)("historyComparisionDate",r.settings.historyComparisionDate)}}function gN(e,t){if(1&e&&(Y(0),I(1,pN,1,5,"tr",46),K()),2&e){const n=t.$implicit,r=D().$implicit,o=D(2);h(1),g("ngIf",!r.collapsed&&n.visible(o.settings.filter,o.settings.historyComparisionType))}}function mN(e,t){if(1&e&&R(0,"tr",50),2&e){const n=D().$implicit,r=D(5);g("clazz",n)("translations",r.translations)("branchCoverageAvailable",r.branchCoverageAvailable)("methodCoverageAvailable",r.methodCoverageAvailable)("historyComparisionDate",r.settings.historyComparisionDate)}}function _N(e,t){if(1&e&&(Y(0),I(1,mN,1,5,"tr",49),K()),2&e){const n=t.$implicit,r=D(2).$implicit,o=D(3);h(1),g("ngIf",!r.collapsed&&n.visible(o.settings.filter,o.settings.historyComparisionType))}}function vN(e,t){if(1&e&&(Y(0),R(1,"tr",48),I(2,_N,2,1,"ng-container",27),K()),2&e){const n=D().$implicit,r=D(3);h(1),g("element",n)("collapsed",n.collapsed)("branchCoverageAvailable",r.branchCoverageAvailable)("methodCoverageAvailable",r.methodCoverageAvailable),h(1),g("ngForOf",n.classes)}}function yN(e,t){if(1&e&&(Y(0),I(1,vN,3,5,"ng-container",0),K()),2&e){const n=t.$implicit,r=D().$implicit,o=D(2);h(1),g("ngIf",!r.collapsed&&n.visible(o.settings.filter,o.settings.historyComparisionType))}}function DN(e,t){if(1&e&&(Y(0),I(1,hN,1,4,"tr",44),I(2,gN,2,1,"ng-container",27),I(3,yN,2,1,"ng-container",27),K()),2&e){const n=t.$implicit,r=D(2);h(1),g("ngIf",n.visible(r.settings.filter,r.settings.historyComparisionType)),h(1),g("ngForOf",n.classes),h(1),g("ngForOf",n.subElements)}}function CN(e,t){if(1&e){const n=dt();v(0,"div")(1,"div",1)(2,"div")(3,"a",2),q("click",function(o){return ie(n),se(D().collapseAll(o))}),b(4),_(),b(5," | "),v(6,"a",2),q("click",function(o){return ie(n),se(D().expandAll(o))}),b(7),_()(),v(8,"div",3),I(9,Hx,2,1,"ng-container",0),I(10,jx,2,1,"ng-container",0),I(11,$x,2,1,"ng-container",0),R(12,"br"),b(13),v(14,"input",4),q("ngModelChange",function(o){return ie(n),se(D().settings.grouping=o)})("ngModelChange",function(){return ie(n),se(D().updateCoverageInfo())}),_()(),v(15,"div",3),I(16,Yx,9,6,"ng-container",0),_(),v(17,"div",5)(18,"span"),b(19),_(),v(20,"input",6),q("ngModelChange",function(o){return ie(n),se(D().settings.filter=o)}),_()()(),v(21,"div",7)(22,"table",8)(23,"colgroup"),R(24,"col",9)(25,"col",10)(26,"col",11)(27,"col",12)(28,"col",13)(29,"col",14)(30,"col",15),I(31,Kx,1,0,"col",16),I(32,Jx,1,0,"col",17),I(33,Xx,1,0,"col",18),I(34,eN,1,0,"col",19),I(35,tN,1,0,"col",16),I(36,nN,1,0,"col",17),I(37,rN,1,0,"col",18),I(38,oN,1,0,"col",19),_(),v(39,"thead")(40,"tr",20),R(41,"th"),v(42,"th",21),b(43),_(),I(44,iN,2,1,"th",22),I(45,sN,2,1,"th",22),_(),v(46,"tr")(47,"th")(48,"a",2),q("click",function(o){return ie(n),se(D().updateSorting("name",o))}),R(49,"i",23),b(50),_()(),v(51,"th",5)(52,"a",2),q("click",function(o){return ie(n),se(D().updateSorting("covered",o))}),R(53,"i",23),b(54),_()(),v(55,"th",5)(56,"a",2),q("click",function(o){return ie(n),se(D().updateSorting("uncovered",o))}),R(57,"i",23),b(58),_()(),v(59,"th",5)(60,"a",2),q("click",function(o){return ie(n),se(D().updateSorting("coverable",o))}),R(61,"i",23),b(62),_()(),v(63,"th",5)(64,"a",2),q("click",function(o){return ie(n),se(D().updateSorting("total",o))}),R(65,"i",23),b(66),_()(),v(67,"th",24)(68,"a",2),q("click",function(o){return ie(n),se(D().updateSorting("coverage",o))}),R(69,"i",23),b(70),_()(),I(71,aN,4,6,"th",25),I(72,lN,4,6,"th",25),I(73,cN,4,6,"th",26),I(74,uN,4,6,"th",25),I(75,dN,4,6,"th",25),I(76,fN,4,6,"th",26),_()(),v(77,"tbody"),I(78,DN,4,3,"ng-container",27),_()()()()}if(2&e){const n=D();h(4),F(n.translations.collapseAll),h(3),F(n.translations.expandAll),h(2),g("ngIf",-1===n.settings.grouping),h(1),g("ngIf",0===n.settings.grouping),h(1),g("ngIf",n.settings.grouping>0),h(2),Z(" ",n.translations.grouping," "),h(1),g("max",n.settings.groupingMaximum)("ngModel",n.settings.grouping),h(2),g("ngIf",n.historicCoverageExecutionTimes.length>0),h(3),Z("",n.translations.filter," "),h(1),g("ngModel",n.settings.filter),h(11),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(5),F(n.translations.coverage),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(4),g("ngClass",Re(41,vt,"name"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"name"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"name"!==n.settings.sortBy)),h(1),F(n.translations.name),h(3),g("ngClass",Re(45,vt,"covered"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"covered"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"covered"!==n.settings.sortBy)),h(1),F(n.translations.covered),h(3),g("ngClass",Re(49,vt,"uncovered"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"uncovered"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"uncovered"!==n.settings.sortBy)),h(1),F(n.translations.uncovered),h(3),g("ngClass",Re(53,vt,"coverable"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"coverable"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"coverable"!==n.settings.sortBy)),h(1),F(n.translations.coverable),h(3),g("ngClass",Re(57,vt,"total"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"total"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"total"!==n.settings.sortBy)),h(1),F(n.translations.total),h(3),g("ngClass",Re(61,vt,"coverage"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"coverage"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"coverage"!==n.settings.sortBy)),h(1),F(n.translations.percentage),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(2),g("ngForOf",n.codeElements)}}class xs{constructor(t){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.codeElements=[],this.translations={},this.settings=new jT,this.window=t.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.translations=this.window.translations;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let r=0,o=this.window.assemblies;for(let i=0;i<o.length;i++)for(let s=0;s<o[i].classes.length;s++)r=Math.max(r,(o[i].classes[s].name.match(/\./g)||[]).length);this.settings.groupingMaximum=r,console.log("Grouping maximum: "+r)}const n=window.location.href.indexOf("?");n>-1&&(this.queryString=window.location.href.substr(n)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onDonBeforeUnlodad(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new Vv;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),n=this.window.assemblies,r=[],o=0;if(0===this.settings.grouping)for(let a=0;a<n.length;a++){let l=new Cn(n[a].name,null);r.push(l);for(let c=0;c<n[a].classes.length;c++)l.insertClass(new Eu(n[a].classes[c],this.queryString),null),o++}else if(-1===this.settings.grouping){let a=new Cn(this.translations.all,null);r.push(a);for(let l=0;l<n.length;l++)for(let c=0;c<n[l].classes.length;c++)a.insertClass(new Eu(n[l].classes[c],this.queryString),null),o++}else for(let a=0;a<n.length;a++){let l=new Cn(n[a].name,null);r.push(l);for(let c=0;c<n[a].classes.length;c++)l.insertClass(new Eu(n[a].classes[c],this.queryString),this.settings.grouping),o++}let i=-1,s=1;"name"===this.settings.sortBy&&(i="asc"===this.settings.sortOrder?-1:1,s="asc"===this.settings.sortOrder?1:-1),r.sort(function(a,l){return a.name===l.name?0:a.name<l.name?i:s}),Cn.sortCodeElementViewModels(r,this.settings.sortBy,"asc"===this.settings.sortOrder);for(let a=0;a<r.length;a++)r[a].changeSorting(this.settings.sortBy,"asc"===this.settings.sortOrder);this.codeElements=r,console.log(`Processing assemblies finished (Duration: ${(new Date).getTime()-t}ms, Assemblies: ${r.length}, Classes: ${o})`),""!==this.settings.historyComparisionDate&&this.updateCurrentHistoricCoverage()}updateCurrentHistoricCoverage(){let t=(new Date).getTime();for(let n=0;n<this.codeElements.length;n++)this.codeElements[n].updateCurrentHistoricCoverage(this.settings.historyComparisionDate);console.log(`Updating current historic coverage finished (Duration: ${(new Date).getTime()-t}ms)`)}collapseAll(t){t.preventDefault();for(let n=0;n<this.codeElements.length;n++)this.codeElements[n].collapse()}expandAll(t){t.preventDefault();for(let n=0;n<this.codeElements.length;n++)this.codeElements[n].expand()}updateSorting(t,n){n.preventDefault(),this.settings.sortOrder=t===this.settings.sortBy&&"asc"===this.settings.sortOrder?"desc":"asc",this.settings.sortBy=t,console.log(`Updating sort column: '${this.settings.sortBy}' (${this.settings.sortOrder})`),Cn.sortCodeElementViewModels(this.codeElements,this.settings.sortBy,"asc"===this.settings.sortOrder);for(let r=0;r<this.codeElements.length;r++)this.codeElements[r].changeSorting(this.settings.sortBy,"asc"===this.settings.sortOrder)}saveCollapseState(){this.settings.collapseStates=[];let t=n=>{for(let r=0;r<n.length;r++)this.settings.collapseStates.push(n[r].collapsed),t(n[r].subElements)};t(this.codeElements)}restoreCollapseState(){let t=0,n=r=>{for(let o=0;o<r.length;o++)this.settings.collapseStates.length>t&&(r[o].collapsed=this.settings.collapseStates[t]),t++,n(r[o].subElements)};n(this.codeElements)}static#e=this.\u0275fac=function(n){return new(n||xs)(S(Gn))};static#t=this.\u0275cmp=ln({type:xs,selectors:[["coverage-info"]],hostBindings:function(n,r){1&n&&q("beforeunload",function(){return r.onDonBeforeUnlodad()},0,gl)},decls:1,vars:1,consts:[[4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"center"],["type","range","step","1","min","-1",3,"max","ngModel","ngModelChange"],[1,"right"],["type","text",3,"ngModel","ngModelChange"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["class","column90",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],[1,"header"],["colspan","6",1,"center"],["class","center","colspan","4",4,"ngIf"],[1,"icon-down-dir",3,"ngClass"],["colspan","2",1,"center"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],["colspan","4",1,"center"],["codeelement-row","",3,"element","collapsed","branchCoverageAvailable","methodCoverageAvailable",4,"ngIf"],["codeelement-row","",3,"element","collapsed","branchCoverageAvailable","methodCoverageAvailable"],["class-row","",3,"clazz","translations","branchCoverageAvailable","methodCoverageAvailable","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","branchCoverageAvailable","methodCoverageAvailable","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","branchCoverageAvailable","methodCoverageAvailable"],["class","namespace","class-row","",3,"clazz","translations","branchCoverageAvailable","methodCoverageAvailable","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","branchCoverageAvailable","methodCoverageAvailable","historyComparisionDate"]],template:function(n,r){1&n&&I(0,CN,79,65,"div",0),2&n&&g("ngIf",r.codeElements.length>0)},dependencies:[So,Hc,Pr,Du,wu,No,mu,Lo,ru,Ms,Ss,Ts],encapsulation:2})}class wN{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function bN(e,t){if(1&e&&(v(0,"option",15),b(1),_()),2&e){const n=t.$implicit;g("value",n),h(1),F(n)}}function EN(e,t){if(1&e&&(v(0,"span"),b(1),_()),2&e){const n=D(2);h(1),F(n.translations.top)}}function IN(e,t){1&e&&(v(0,"option",22),b(1,"20"),_())}function MN(e,t){1&e&&(v(0,"option",23),b(1,"50"),_())}function SN(e,t){1&e&&(v(0,"option",24),b(1,"100"),_())}function AN(e,t){if(1&e&&(v(0,"option",15),b(1),_()),2&e){const n=D(3);g("value",n.totalNumberOfRiskHotspots),h(1),F(n.translations.all)}}function TN(e,t){if(1&e){const n=dt();v(0,"select",16),q("ngModelChange",function(o){return ie(n),se(D(2).settings.numberOfRiskHotspots=o)}),v(1,"option",17),b(2,"10"),_(),I(3,IN,2,0,"option",18),I(4,MN,2,0,"option",19),I(5,SN,2,0,"option",20),I(6,AN,2,2,"option",21),_()}if(2&e){const n=D(2);g("ngModel",n.settings.numberOfRiskHotspots),h(3),g("ngIf",n.totalNumberOfRiskHotspots>10),h(1),g("ngIf",n.totalNumberOfRiskHotspots>20),h(1),g("ngIf",n.totalNumberOfRiskHotspots>50),h(1),g("ngIf",n.totalNumberOfRiskHotspots>100)}}function xN(e,t){1&e&&R(0,"col",25)}const Ns=function(e,t,n){return{"icon-up-dir_active":e,"icon-down-dir_active":t,"icon-down-dir":n}};function NN(e,t){if(1&e){const n=dt();v(0,"th")(1,"a",12),q("click",function(o){const s=ie(n).index;return se(D(2).updateSorting(""+s,o))}),R(2,"i",13),b(3),_(),v(4,"a",26),R(5,"i",27),_()()}if(2&e){const n=t.$implicit,r=t.index,o=D(2);h(2),g("ngClass",Re(3,Ns,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),h(1),F(n.name),h(1),Ar("href",n.explanationUrl,dr)}}const FN=function(e,t){return{lightred:e,lightgreen:t}};function ON(e,t){if(1&e&&(v(0,"td",30),b(1),_()),2&e){const n=t.$implicit;g("ngClass",rc(2,FN,n.exceeded,!n.exceeded)),h(1),F(n.value)}}function RN(e,t){if(1&e&&(v(0,"tr")(1,"td"),b(2),_(),v(3,"td")(4,"a",26),b(5),_()(),v(6,"td",28)(7,"a",26),b(8),_()(),I(9,ON,2,5,"td",29),_()),2&e){const n=t.$implicit,r=D(2);h(2),F(n.assembly),h(2),g("href",n.reportPath+r.queryString,dr),h(1),F(n.class),h(1),g("title",n.methodName),h(1),g("href",n.reportPath+r.queryString+"#file"+n.fileIndex+"_line"+n.line,dr),h(1),Z(" ",n.methodShortName," "),h(1),g("ngForOf",n.metrics)}}function PN(e,t){if(1&e){const n=dt();v(0,"div")(1,"div",1)(2,"div")(3,"select",2),q("ngModelChange",function(o){return ie(n),se(D().settings.assembly=o)})("ngModelChange",function(){return ie(n),se(D().updateRiskHotpots())}),v(4,"option",3),b(5),_(),I(6,bN,2,2,"option",4),_()(),v(7,"div",5),I(8,EN,2,1,"span",0),I(9,TN,7,5,"select",6),_(),R(10,"div",5),v(11,"div",7)(12,"span"),b(13),_(),v(14,"input",8),q("ngModelChange",function(o){return ie(n),se(D().settings.filter=o)})("ngModelChange",function(){return ie(n),se(D().updateRiskHotpots())}),_()()(),v(15,"div",9)(16,"table",10)(17,"colgroup"),R(18,"col")(19,"col")(20,"col"),I(21,xN,1,0,"col",11),_(),v(22,"thead")(23,"tr")(24,"th")(25,"a",12),q("click",function(o){return ie(n),se(D().updateSorting("assembly",o))}),R(26,"i",13),b(27),_()(),v(28,"th")(29,"a",12),q("click",function(o){return ie(n),se(D().updateSorting("class",o))}),R(30,"i",13),b(31),_()(),v(32,"th")(33,"a",12),q("click",function(o){return ie(n),se(D().updateSorting("method",o))}),R(34,"i",13),b(35),_()(),I(36,NN,6,7,"th",14),_()(),v(37,"tbody"),I(38,RN,10,7,"tr",14),function qg(e,t){const n=J();let r;const o=e+22;n.firstCreatePass?(r=function xI(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=xn(r.type)),s=ft(S);try{const a=ai(!1),l=i();return ai(a),function DE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,w(),o,l),l}finally{ft(s)}}(39,"slice"),_()()()()}if(2&e){const n=D();h(3),g("ngModel",n.settings.assembly),h(2),F(n.translations.assembly),h(1),g("ngForOf",n.assemblies),h(2),g("ngIf",n.totalNumberOfRiskHotspots>10),h(1),g("ngIf",n.totalNumberOfRiskHotspots>10),h(4),Z("",n.translations.filter," "),h(1),g("ngModel",n.settings.filter),h(7),g("ngForOf",n.riskHotspotMetrics),h(5),g("ngClass",Re(20,Ns,"assembly"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"assembly"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"assembly"!==n.settings.sortBy)),h(1),F(n.translations.assembly),h(3),g("ngClass",Re(24,Ns,"class"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"class"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"class"!==n.settings.sortBy)),h(1),F(n.translations.class),h(3),g("ngClass",Re(28,Ns,"method"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"method"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"method"!==n.settings.sortBy)),h(1),F(n.translations.method),h(1),g("ngForOf",n.riskHotspotMetrics),h(2),g("ngForOf",function Zg(e,t,n,r,o){const i=e+22,s=w(),a=function Jn(e,t){return e[t]}(s,i);return function Co(e,t){return e[1].data[t].pure}(s,i)?zg(s,We(),t,a.transform,n,r,o,a):a.transform(n,r,o)}(39,16,n.riskHotspots,0,n.settings.numberOfRiskHotspots))}}class Fs{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new wN,this.window=t.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const t=window.location.href.indexOf("?");t>-1&&(this.queryString=window.location.href.substr(t)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let t=new Vv;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateRiskHotpots(){const t=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=t.length,0===this.assemblies.length){let i=[];for(let s=0;s<t.length;s++)-1===i.indexOf(t[s].assembly)&&i.push(t[s].assembly);this.assemblies=i.sort()}let n=[];for(let i=0;i<t.length;i++)""!==this.settings.filter&&-1===t[i].class.toLowerCase().indexOf(this.settings.filter.toLowerCase())||""!==this.settings.assembly&&t[i].assembly!==this.settings.assembly||n.push(t[i]);let r="asc"===this.settings.sortOrder?-1:1,o="asc"===this.settings.sortOrder?1:-1;if("assembly"===this.settings.sortBy)n.sort(function(i,s){return i.assembly===s.assembly?0:i.assembly<s.assembly?r:o});else if("class"===this.settings.sortBy)n.sort(function(i,s){return i.class===s.class?0:i.class<s.class?r:o});else if("method"===this.settings.sortBy)n.sort(function(i,s){return i.methodShortName===s.methodShortName?0:i.methodShortName<s.methodShortName?r:o});else if(""!==this.settings.sortBy){let i=parseInt(this.settings.sortBy,10);n.sort(function(s,a){return s.metrics[i].value===a.metrics[i].value?0:s.metrics[i].value<a.metrics[i].value?r:o})}this.riskHotspots=n}updateSorting(t,n){n.preventDefault(),this.settings.sortOrder=t===this.settings.sortBy&&"asc"===this.settings.sortOrder?"desc":"asc",this.settings.sortBy=t,console.log(`Updating sort column: '${this.settings.sortBy}' (${this.settings.sortOrder})`),this.updateRiskHotpots()}static#e=this.\u0275fac=function(n){return new(n||Fs)(S(Gn))};static#t=this.\u0275cmp=ln({type:Fs,selectors:[["risk-hotspots"]],hostBindings:function(n,r){1&n&&q("beforeunload",function(){return r.onDonBeforeUnlodad()},0,gl)},decls:1,vars:1,consts:[[4,"ngIf"],[1,"customizebox"],["name","assembly",3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"center"],[3,"ngModel","ngModelChange",4,"ngIf"],[1,"right"],["type","text",3,"ngModel","ngModelChange"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],["class","column105",4,"ngFor","ngForOf"],["href","#",3,"click"],[1,"icon-down-dir",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"value"],[3,"ngModel","ngModelChange"],["value","10"],["value","20",4,"ngIf"],["value","50",4,"ngIf"],["value","100",4,"ngIf"],[3,"value",4,"ngIf"],["value","20"],["value","50"],["value","100"],[1,"column105"],[3,"href"],[1,"icon-info-circled"],[3,"title"],["class","right",3,"ngClass",4,"ngFor","ngForOf"],[1,"right",3,"ngClass"]],template:function(n,r){1&n&&I(0,PN,40,32,"div",0),2&n&&g("ngIf",r.totalNumberOfRiskHotspots>0)},dependencies:[So,Hc,Pr,Du,wu,No,Lo,ru,Ms,d_],encapsulation:2})}class Os{static#e=this.\u0275fac=function(n){return new(n||Os)};static#t=this.\u0275mod=cn({type:Os,bootstrap:[Fs,xs]});static#n=this.\u0275inj=zt({providers:[Gn],imports:[DA,BT]})}yA().bootstrapModule(Os).catch(e=>console.error(e))}},ve=>{ve(ve.s=103)}]);