Projekt

Obecné

Profil

Stáhnout (296 KB) Statistiky
| Větev: | Tag: | Revize:
1
/* Chartist.js 0.11.4
2
 * Copyright © 2019 Gion Kunz
3
 * Free to use under either the WTFPL license or the MIT license.
4
 * https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-WTFPL
5
 * https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-MIT
6
 */
7

    
8
!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 () {
9
    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) {
10
        "use strict"; function c(a) {
11
            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);
12
            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 })
13
        } 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 })
14
    }(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
15
});
16
//# sourceMappingURL=chartist.min.js.map
17

    
18
var i, l, selectedLine = null;
19

    
20
/* Navigate to hash without browser history entry */
21
var navigateToHash = function () {
22
    if (window.history !== undefined && window.history.replaceState !== undefined) {
23
        window.history.replaceState(undefined, undefined, this.getAttribute("href"));
24
    }
25
};
26

    
27
var hashLinks = document.getElementsByClassName('navigatetohash');
28
for (i = 0, l = hashLinks.length; i < l; i++) {
29
    hashLinks[i].addEventListener('click', navigateToHash);
30
}
31

    
32
/* Switch test method */
33
var switchTestMethod = function () {
34
    var method = this.getAttribute("value");
35
    console.log("Selected test method: " + method);
36

    
37
    var lines, i, l, coverageData, lineAnalysis, cells;
38

    
39
    lines = document.querySelectorAll('.lineAnalysis tr');
40

    
41
    for (i = 1, l = lines.length; i < l; i++) {
42
        coverageData = JSON.parse(lines[i].getAttribute('data-coverage').replace(/'/g, '"'));
43
        lineAnalysis = coverageData[method];
44
        cells = lines[i].querySelectorAll('td');
45
        if (lineAnalysis === undefined) {
46
            lineAnalysis = coverageData.AllTestMethods;
47
            if (lineAnalysis.LVS !== 'gray') {
48
                cells[0].setAttribute('class', 'red');
49
                cells[1].innerText = cells[1].textContent = '0';
50
                cells[4].setAttribute('class', 'lightred');
51
            }
52
        } else {
53
            cells[0].setAttribute('class', lineAnalysis.LVS);
54
            cells[1].innerText = cells[1].textContent = lineAnalysis.VC;
55
            cells[4].setAttribute('class', 'light' + lineAnalysis.LVS);
56
        }
57
    }
58
};
59

    
60
var testMethods = document.getElementsByClassName('switchtestmethod');
61
for (i = 0, l = testMethods.length; i < l; i++) {
62
    testMethods[i].addEventListener('change', switchTestMethod);
63
}
64

    
65
/* Highlight test method by line */
66
var toggleLine = function () {
67
    if (selectedLine === this) {
68
        selectedLine = null;
69
    } else {
70
        selectedLine = null;
71
        unhighlightTestMethods();
72
        highlightTestMethods.call(this);
73
        selectedLine = this;
74
    }
75
    
76
};
77
var highlightTestMethods = function () {
78
    if (selectedLine !== null) {
79
        return;
80
    }
81

    
82
    var lineAnalysis;
83
    var coverageData = JSON.parse(this.getAttribute('data-coverage').replace(/'/g, '"'));
84
    var testMethods = document.getElementsByClassName('testmethod');
85

    
86
    for (i = 0, l = testMethods.length; i < l; i++) {
87
        lineAnalysis = coverageData[testMethods[i].id];
88
        if (lineAnalysis === undefined) {
89
            testMethods[i].className = testMethods[i].className.replace(/\s*light.+/g, "");
90
        } else {
91
            testMethods[i].className += ' light' + lineAnalysis.LVS;
92
        }
93
    }
94
};
95
var unhighlightTestMethods = function () {
96
    if (selectedLine !== null) {
97
        return;
98
    }
99

    
100
    var testMethods = document.getElementsByClassName('testmethod');
101
    for (i = 0, l = testMethods.length; i < l; i++) {
102
        testMethods[i].className = testMethods[i].className.replace(/\s*light.+/g, "");
103
    }
104
};
105
var coverableLines = document.getElementsByClassName('coverableline');
106
for (i = 0, l = coverableLines.length; i < l; i++) {
107
    coverableLines[i].addEventListener('click', toggleLine);
108
    coverableLines[i].addEventListener('mouseenter', highlightTestMethods);
109
    coverableLines[i].addEventListener('mouseleave', unhighlightTestMethods);
110
}
111

    
112
/* History charts */
113
var renderChart = function (chart) {
114
    // Remove current children (e.g. PNG placeholder)
115
    while (chart.firstChild) {
116
        chart.firstChild.remove();
117
    }
118

    
119
    var chartData = window[chart.getAttribute('data-data')];
120
    var options = {
121
        axisY: {
122
            type: undefined,
123
            onlyInteger: true
124
        },
125
        lineSmooth: false,
126
        low: 0,
127
        high: 100,
128
        scaleMinSpace: 20,
129
        onlyInteger: true,
130
        fullWidth: true
131
    };
132
    var lineChart = new Chartist.Line(chart, {
133
        labels: [],
134
        series: chartData.series
135
    }, options);
136

    
137
    /* Zoom */
138
    var zoomButtonDiv = document.createElement("div");
139
    zoomButtonDiv.className = "toggleZoom";
140
    var zoomButtonLink = document.createElement("a");
141
    zoomButtonLink.setAttribute("href", "");
142
    var zoomButtonText = document.createElement("i");
143
    zoomButtonText.className = "icon-search-plus";
144

    
145
    zoomButtonLink.appendChild(zoomButtonText);
146
    zoomButtonDiv.appendChild(zoomButtonLink);
147

    
148
    chart.appendChild(zoomButtonDiv);
149

    
150
    zoomButtonDiv.addEventListener('click', function (event) {
151
        event.preventDefault();
152

    
153
        if (options.axisY.type === undefined) {
154
            options.axisY.type = Chartist.AutoScaleAxis;
155
            zoomButtonText.className = "icon-search-minus";
156
        } else {
157
            options.axisY.type = undefined;
158
            zoomButtonText.className = "icon-search-plus";
159
        }
160

    
161
        lineChart.update(null, options);
162
    });
163

    
164
    var tooltip = document.createElement("div");
165
    tooltip.className = "tooltip";
166

    
167
    chart.appendChild(tooltip);
168

    
169
    /* Tooltips */
170
    var showToolTip = function () {
171
        var index = this.getAttribute('ct:meta');
172

    
173
        tooltip.innerHTML = chartData.tooltips[index];
174
        tooltip.style.display = 'block';
175
    };
176

    
177
    var moveToolTip = function (event) {
178
        var box = chart.getBoundingClientRect();
179
        var left = event.pageX - box.left - window.pageXOffset;
180
        var top = event.pageY - box.top - window.pageYOffset;
181

    
182
        left = left + 20;
183
        top = top - tooltip.offsetHeight / 2;
184

    
185
        if (left + tooltip.offsetWidth > box.width) {
186
            left -= tooltip.offsetWidth + 40;
187
        }
188

    
189
        if (top < 0) {
190
            top = 0;
191
        }
192

    
193
        if (top + tooltip.offsetHeight > box.height) {
194
            top = box.height - tooltip.offsetHeight;
195
        }
196

    
197
        tooltip.style.left = left + 'px';
198
        tooltip.style.top = top + 'px';
199
    };
200

    
201
    var hideToolTip = function () {
202
        tooltip.style.display = 'none';
203
    };
204
    chart.addEventListener('mousemove', moveToolTip);
205

    
206
    lineChart.on('created', function () {
207
        var chartPoints = chart.getElementsByClassName('ct-point');
208
        for (i = 0, l = chartPoints.length; i < l; i++) {
209
            chartPoints[i].addEventListener('mousemove', showToolTip);
210
            chartPoints[i].addEventListener('mouseout', hideToolTip);
211
        }
212
    });
213
};
214

    
215
var charts = document.getElementsByClassName('historychart');
216
for (i = 0, l = charts.length; i < l; i++) {
217
    renderChart(charts[i]);
218
}
219

    
220
var assemblies = [
221
  {
222
    "name": "ldclient.dll",
223
    "classes": [
224
      { "name": "LDClient.detection.DebuggerInfoParser", "rp": "ldclient.dll_DebuggerInfoParser.html", "cl": 7, "ucl": 0, "cal": 7, "tl": 21, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
225
      { "name": "LDClient.detection.InfoFetcher", "rp": "ldclient.dll_InfoFetcher.html", "cl": 52, "ucl": 0, "cal": 52, "tl": 86, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
226
      { "name": "LDClient.detection.ProcessDetection", "rp": "ldclient.dll_ProcessDetection.html", "cl": 62, "ucl": 0, "cal": 62, "tl": 91, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
227
      { "name": "LDClient.detection.ProcessUtils", "rp": "ldclient.dll_ProcessUtils.html", "cl": 0, "ucl": 20, "cal": 20, "tl": 40, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
228
      { "name": "LDClient.network.ApiClient", "rp": "ldclient.dll_ApiClient.html", "cl": 75, "ucl": 0, "cal": 75, "tl": 108, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
229
      { "name": "LDClient.network.data.DebuggerInfo", "rp": "ldclient.dll_DebuggerInfo.html", "cl": 1, "ucl": 0, "cal": 1, "tl": 9, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
230
      { "name": "LDClient.network.data.Payload", "rp": "ldclient.dll_Payload.html", "cl": 17, "ucl": 3, "cal": 20, "tl": 49, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
231
      { "name": "LDClient.network.HttpClient", "rp": "ldclient.dll_HttpClient.html", "cl": 4, "ucl": 7, "cal": 11, "tl": 32, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
232
      { "name": "LDClient.Program", "rp": "ldclient.dll_Program.html", "cl": 11, "ucl": 32, "cal": 43, "tl": 67, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
233
      { "name": "LDClient.utils.ConfigLoader", "rp": "ldclient.dll_ConfigLoader.html", "cl": 74, "ucl": 12, "cal": 86, "tl": 127, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
234
      { "name": "LDClient.utils.FileUtils", "rp": "ldclient.dll_FileUtils.html", "cl": 0, "ucl": 3, "cal": 3, "tl": 13, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
235
      { "name": "LDClient.utils.loggers.ALogger", "rp": "ldclient.dll_ALogger.html", "cl": 58, "ucl": 14, "cal": 72, "tl": 109, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
236
      { "name": "LDClient.utils.loggers.ConsoleLogger", "rp": "ldclient.dll_ConsoleLogger.html", "cl": 3, "ucl": 0, "cal": 3, "tl": 7, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
237
      { "name": "LDClient.utils.loggers.FileLogger", "rp": "ldclient.dll_FileLogger.html", "cl": 0, "ucl": 59, "cal": 59, "tl": 95, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
238
    ]},
239
  {
240
    "name": "ldclienttests.dll",
241
    "classes": [
242
      { "name": "LDClientTests.detection.DebuggerInfoParserTests", "rp": "ldclienttests.dll_DebuggerInfoParserTests.html", "cl": 18, "ucl": 0, "cal": 18, "tl": 66, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
243
      { "name": "LDClientTests.detection.InfoFetcherTests", "rp": "ldclienttests.dll_InfoFetcherTests.html", "cl": 59, "ucl": 0, "cal": 59, "tl": 117, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
244
      { "name": "LDClientTests.detection.ProcessDetectionTests", "rp": "ldclienttests.dll_ProcessDetectionTests.html", "cl": 61, "ucl": 0, "cal": 61, "tl": 132, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
245
      { "name": "LDClientTests.network.ApiClientTests", "rp": "ldclienttests.dll_ApiClientTests.html", "cl": 81, "ucl": 0, "cal": 81, "tl": 167, "ct": "LineCoverage", "cbm": "-", "cb": 0, "tb": 0, "cm": 0, "tm": 0, "lch": [], "bch": [], "mch": [], "hc": [] },
246
    ]},
247
];
248

    
249
var historicCoverageExecutionTimes = [];
250

    
251
var riskHotspotMetrics = [
252
];
253

    
254
var riskHotspots = [
255
];
256

    
257
var branchCoverageAvailable = false;
258
var methodCoverageAvailable = false;
259

    
260

    
261
var translations = {
262
'top': 'Top:',
263
'all': 'All',
264
'assembly': 'Assembly',
265
'class': 'Class',
266
'method': 'Method',
267
'lineCoverage': 'LineCoverage',
268
'noGrouping': 'No grouping',
269
'byAssembly': 'By assembly',
270
'byNamespace': 'By namespace, Level:',
271
'all': 'All',
272
'collapseAll': 'Collapse all',
273
'expandAll': 'Expand all',
274
'grouping': 'Grouping:',
275
'filter': 'Filter:',
276
'name': 'Name',
277
'covered': 'Covered',
278
'uncovered': 'Uncovered',
279
'coverable': 'Coverable',
280
'total': 'Total',
281
'coverage': 'Line coverage',
282
'branchCoverage': 'Branch coverage',
283
'methodCoverage': 'Method coverage',
284
'percentage': 'Percentage',
285
'history': 'Coverage History',
286
'compareHistory': 'Compare with:',
287
'date': 'Date',
288
'allChanges': 'All changes',
289
'lineCoverageIncreaseOnly': 'Line coverage: Increase only',
290
'lineCoverageDecreaseOnly': 'Line coverage: Decrease only',
291
'branchCoverageIncreaseOnly': 'Branch coverage: Increase only',
292
'branchCoverageDecreaseOnly': 'Branch coverage: Decrease only',
293
'methodCoverageIncreaseOnly': 'Method coverage: Increase only',
294
'methodCoverageDecreaseOnly': 'Method coverage: Decrease only'
295
};
296

    
297

    
298
(()=>{"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))})()})();
299
"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&&void 0!==this.data.handleId?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=_}("undefined"!=typeof window&&window||"undefined"!=typeof self&&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="undefined"!=typeof window,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&&void 0===e.set)}const Ue="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&void 0!==$.process&&"[object process]"==={}.toString.call($.process),je=!Re&&!Ue&&!(!Pe||!pe.HTMLElement),We=void 0!==$.process&&"[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(e){}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(s){}}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(s){}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("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){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="undefined"!=typeof WebSocket,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(e){}return!1}()?[{target:f,ignoreProperties:["error"]}]:[];W(f,Te.concat(["messageerror"]),r&&r.concat(_),de(f)),W(Document.prototype,Te,r),void 0!==f.SVGElement&&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),"undefined"!=typeof IDBIndex&&(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)}]);
300

    
301
"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{873:()=>{function pe(e){return"function"==typeof e}function xo(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 No=xo(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 Fr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Tt{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(pe(r))try{r()}catch(i){t=i instanceof No?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{uc(i)}catch(s){t=null!=t?t:[],s instanceof No?t=[...t,...s.errors]:t.push(s)}}if(t)throw new No(t)}}add(t){var n;if(t&&t!==this)if(this.closed)uc(t);else{if(t instanceof Tt){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)&&Fr(n,t)}remove(t){const{_teardowns:n}=this;n&&Fr(n,t),t instanceof Tt&&t._removeParent(this)}}Tt.EMPTY=(()=>{const e=new Tt;return e.closed=!0,e})();const ac=Tt.EMPTY;function lc(e){return e instanceof Tt||e&&"closed"in e&&pe(e.remove)&&pe(e.add)&&pe(e.unsubscribe)}function uc(e){pe(e)?e():e.unsubscribe()}const yn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fo={setTimeout(...e){const{delegate:t}=Fo;return((null==t?void 0:t.setTimeout)||setTimeout)(...e)},clearTimeout(e){const{delegate:t}=Fo;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function cc(e){Fo.setTimeout(()=>{const{onUnhandledError:t}=yn;if(!t)throw e;t(e)})}function Oo(){}const Z_=gs("C",void 0,void 0);function gs(e,t,n){return{kind:e,value:t,error:n}}let Cn=null;function Ro(e){if(yn.useDeprecatedSynchronousErrorHandling){const t=!Cn;if(t&&(Cn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Cn;if(Cn=null,n)throw r}}else e()}class ms extends Tt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,lc(t)&&t.add(this)):this.destination=X_}static create(t,n,r){return new _s(t,n,r)}next(t){this.isStopped?ys(function K_(e){return gs("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ys(function Y_(e){return gs("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ys(Z_,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 _s extends ms{constructor(t,n,r){let o;if(super(),pe(t))o=t;else if(t){let i;({next:o,error:n,complete:r}=t),this&&yn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,o=null==o?void 0:o.bind(i),n=null==n?void 0:n.bind(i),r=null==r?void 0:r.bind(i)}this.destination={next:o?vs(o):Oo,error:vs(null!=n?n:dc),complete:r?vs(r):Oo}}}function vs(e,t){return(...n)=>{try{e(...n)}catch(r){yn.useDeprecatedSynchronousErrorHandling?function J_(e){yn.useDeprecatedSynchronousErrorHandling&&Cn&&(Cn.errorThrown=!0,Cn.error=e)}(r):cc(r)}}}function dc(e){throw e}function ys(e,t){const{onStoppedNotification:n}=yn;n&&Fo.setTimeout(()=>n(e,t))}const X_={closed:!0,next:Oo,error:dc,complete:Oo},Cs="function"==typeof Symbol&&Symbol.observable||"@@observable";function fc(e){return e}let Le=(()=>{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 tv(e){return e&&e instanceof ms||function ev(e){return e&&pe(e.next)&&pe(e.error)&&pe(e.complete)}(e)&&lc(e)}(n)?n:new _s(n,r,o);return Ro(()=>{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=pc(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(l){i(l),null==s||s.unsubscribe()}},i,o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Cs](){return this}pipe(...n){return function hc(e){return 0===e.length?fc:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=pc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function pc(e){var t;return null!==(t=null!=e?e:yn.Promise)&&void 0!==t?t:Promise}const nv=xo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ds=(()=>{class e extends Le{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new gc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new nv}next(n){Ro(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(n)}})}error(n){Ro(()=>{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(){Ro(()=>{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?ac:(i.push(n),new Tt(()=>Fr(i,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Le;return n.source=this,n}}return e.create=(t,n)=>new gc(t,n),e})();class gc extends Ds{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:ac}}function Ln(e){return t=>{if(function rv(e){return pe(null==e?void 0: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 Bn extends ms{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 ws(e,t){return Ln((n,r)=>{let o=0;n.subscribe(new Bn(r,i=>{r.next(e.call(t,i,o++))}))})}function Dn(e){return this instanceof Dn?(this.v=e,this):new Dn(e)}function sv(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,D){i.push([f,p,m,D])>1||a(f,p)})})}function a(f,p){try{!function l(f){f.value instanceof Dn?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](p))}catch(m){d(i[0][3],m)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function av(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 vc(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(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const yc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Cc(e){return pe(null==e?void 0:e.then)}function Dc(e){return pe(e[Cs])}function wc(e){return Symbol.asyncIterator&&pe(null==e?void 0:e[Symbol.asyncIterator])}function bc(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 Ec=function uv(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Mc(e){return pe(null==e?void 0:e[Ec])}function Ic(e){return sv(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Dn(n.read());if(o)return yield Dn(void 0);yield yield Dn(r)}}finally{n.releaseLock()}})}function Ac(e){return pe(null==e?void 0:e.getReader)}function wn(e){if(e instanceof Le)return e;if(null!=e){if(Dc(e))return function cv(e){return new Le(t=>{const n=e[Cs]();if(pe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(yc(e))return function dv(e){return new Le(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Cc(e))return function fv(e){return new Le(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,cc)})}(e);if(wc(e))return Tc(e);if(Mc(e))return function hv(e){return new Le(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Ac(e))return function pv(e){return Tc(Ic(e))}(e)}throw bc(e)}function Tc(e){return new Le(t=>{(function gv(e,t){var n,r,o,i;return function ov(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=av(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 en(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 Sc(e,t,n=1/0){return pe(t)?Sc((r,o)=>ws((i,s)=>t(r,i,o,s))(wn(e(r,o))),n):("number"==typeof t&&(n=t),Ln((r,o)=>function mv(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},p=D=>u<r?m(D):l.push(D),m=D=>{i&&t.next(D),u++;let M=!1;wn(n(D,c++)).subscribe(new Bn(t,I=>{null==o||o(I),i?p(I):t.next(I)},()=>{M=!0},void 0,()=>{if(M)try{for(u--;l.length&&u<r;){const I=l.shift();s?en(t,s,()=>m(I)):m(I)}f()}catch(I){t.error(I)}}))};return e.subscribe(new Bn(t,p,()=>{d=!0,f()})),()=>{null==a||a()}}(r,o,e,n)))}const Es=new Le(e=>e.complete());function Ms(e){return e[e.length-1]}function xc(e,t=0){return Ln((n,r)=>{n.subscribe(new Bn(r,o=>en(r,e,()=>r.next(o),t),()=>en(r,e,()=>r.complete(),t),o=>en(r,e,()=>r.error(o),t)))})}function Nc(e,t=0){return Ln((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Fc(e,t){if(!e)throw new Error("Iterable cannot be null");return new Le(n=>{en(n,t,()=>{const r=e[Symbol.asyncIterator]();en(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Is(e,t){return t?function Tv(e,t){if(null!=e){if(Dc(e))return function bv(e,t){return wn(e).pipe(Nc(t),xc(t))}(e,t);if(yc(e))return function Mv(e,t){return new Le(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Cc(e))return function Ev(e,t){return wn(e).pipe(Nc(t),xc(t))}(e,t);if(wc(e))return Fc(e,t);if(Mc(e))return function Iv(e,t){return new Le(n=>{let r;return en(n,t,()=>{r=e[Ec](),en(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)}),()=>pe(null==r?void 0:r.return)&&r.return()})}(e,t);if(Ac(e))return function Av(e,t){return Fc(Ic(e),t)}(e,t)}throw bc(e)}(e,t):wn(e)}function Sv(...e){const t=function Dv(e){return function yv(e){return e&&pe(e.schedule)}(Ms(e))?e.pop():void 0}(e),n=function wv(e,t){return"number"==typeof Ms(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?wn(r[0]):function _v(e=1/0){return Sc(fc,e)}(n)(Is(r,t)):Es}function As(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(function xv(e){return e<=0?()=>Es:Ln((t,n)=>{let r=0;t.subscribe(new Bn(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}(1)).subscribe(()=>e())}function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function Ts(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).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 Ss(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Fv=ie({__forward_ref__:ie});function ae(e){return e.__forward_ref__=ae,e.toString=function(){return te(this())},e}function H(e){return Oc(e)?e():e}function Oc(e){return"function"==typeof e&&e.hasOwnProperty(Fv)&&e.__forward_ref__===ae}class Y extends Error{constructor(t,n){super(function xs(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function V(e){return"string"==typeof e?e:null==e?"":String(e)}function Be(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():V(e)}function Po(e,t){const n=t?` in ${t}`:"";throw new Y(-201,`No provider for ${Be(e)} found${n}`)}function Ke(e,t){null==e&&function ce(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 Gt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ns(e){return Rc(e,Vo)||Rc(e,Vc)}function Rc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pc(e){return e&&(e.hasOwnProperty(Fs)||e.hasOwnProperty(Bv))?e[Fs]:null}const Vo=ie({\u0275prov:ie}),Fs=ie({\u0275inj:ie}),Vc=ie({ngInjectableDef:ie}),Bv=ie({ngInjectorDef:ie});var B=(()=>((B=B||{})[B.Default=0]="Default",B[B.Host=1]="Host",B[B.Self=2]="Self",B[B.SkipSelf=4]="SkipSelf",B[B.Optional=8]="Optional",B))();let Os;function tn(e){const t=Os;return Os=e,t}function kc(e,t,n){const r=Ns(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&B.Optional?null:void 0!==t?t:void Po(te(e),"Injector")}function nn(e){return{toString:e}.toString()}var gt=(()=>((gt=gt||{})[gt.OnPush=0]="OnPush",gt[gt.Default=1]="Default",gt))(),St=(()=>{return(e=St||(St={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",St;var e})();const jv="undefined"!=typeof globalThis&&globalThis,$v="undefined"!=typeof window&&window,Uv="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,re=jv||"undefined"!=typeof global&&global||$v||Uv,Hn={},se=[],ko=ie({\u0275cmp:ie}),Rs=ie({\u0275dir:ie}),Ps=ie({\u0275pipe:ie}),Lc=ie({\u0275mod:ie}),qt=ie({\u0275fac:ie}),Or=ie({__NG_ELEMENT_ID__:ie});let zv=0;function rn(e){return nn(()=>{const n={},r={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:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===gt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||St.Emulated,id:"c",styles:e.styles||se,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,i=e.features,s=e.pipes;return r.id+=zv++,r.inputs=$c(e.inputs,n),r.outputs=$c(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Bc):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Hc):null,r})}function Bc(e){return Ne(e)||function sn(e){return e[Rs]||null}(e)}function Hc(e){return function bn(e){return e[Ps]||null}(e)}const jc={};function on(e){return nn(()=>{const t={type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(jc[e.id]=e.type),t})}function $c(e,t){if(null==e)return Hn;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 k=rn;function qe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ne(e){return e[ko]||null}function it(e,t){const n=e[Lc]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}const j=11;function xt(e){return Array.isArray(e)&&"object"==typeof e[1]}function _t(e){return Array.isArray(e)&&!0===e[1]}function Ls(e){return 0!=(8&e.flags)}function jo(e){return 2==(2&e.flags)}function $o(e){return 1==(1&e.flags)}function vt(e){return null!==e.template}function Yv(e){return 0!=(512&e[2])}function An(e,t){return e.hasOwnProperty(qt)?e[qt]:null}class Xv{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Wt(){return zc}function zc(e){return e.type.prototype.ngOnChanges&&(e.setInput=ty),ey}function ey(){const e=qc(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Hn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ty(e,t,n,r){const o=qc(e)||function ny(e,t){return e[Gc]=t}(e,{previous:Hn,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];i[a]=new Xv(l&&l.currentValue,t,s===Hn),e[r]=t}Wt.ngInherit=!0;const Gc="__ngSimpleChanges__";function qc(e){return e[Gc]||null}let Us;function me(e){return!!e.listen}const Wc={createRenderer:(e,t)=>function zs(){return void 0!==Us?Us:"undefined"!=typeof document?document:void 0}()};function De(e){for(;Array.isArray(e);)e=e[0];return e}function Uo(e,t){return De(t[e])}function lt(e,t){return De(t[e.index])}function Gs(e,t){return e.data[t]}function Xe(e,t){const n=t[e];return xt(n)?n:n[0]}function qs(e){return 128==(128&e[2])}function an(e,t){return null==t?null:e[t]}function Zc(e){e[18]=0}function Ws(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 P={lFrame:rd(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Yc(){return P.bindingsEnabled}function w(){return P.lFrame.lView}function K(){return P.lFrame.tView}function ee(e){return P.lFrame.contextLView=e,e[8]}function Me(){let e=Kc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Kc(){return P.lFrame.currentTNode}function Nt(e,t){const n=P.lFrame;n.currentTNode=e,n.isParent=t}function Qs(){return P.lFrame.isParent}function Zs(){P.lFrame.isParent=!1}function zo(){return P.isInCheckNoChangesMode}function Go(e){P.isInCheckNoChangesMode=e}function He(){const e=P.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qn(){return P.lFrame.bindingIndex++}function Zt(e){const t=P.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function yy(e,t){const n=P.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ys(t)}function Ys(e){P.lFrame.currentDirectiveIndex=e}function Js(e){P.lFrame.currentQueryIndex=e}function Dy(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function td(e,t,n){if(n&B.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&B.Host||(o=Dy(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=P.lFrame=nd();return r.currentTNode=t,r.lView=e,!0}function qo(e){const t=nd(),n=e[1];P.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function nd(){const e=P.lFrame,t=null===e?null:e.child;return null===t?rd(e):t}function rd(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 od(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const id=od;function Wo(){const e=od();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 je(){return P.lFrame.selectedIndex}function ln(e){P.lFrame.selectedIndex=e}function _e(){const e=P.lFrame;return Gs(e.tView,e.selectedIndex)}function Qo(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:u,ngOnDestroy:c}=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),u&&((e.viewHooks||(e.viewHooks=[])).push(n,u),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,u)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function Zo(e,t,n){ad(e,t,3,n)}function Yo(e,t,n,r){(3&e[2])===n&&ad(e,t,n,r)}function Xs(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function ad(e,t,n,r){const i=null!=r?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)&&(Sy(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}function Sy(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 Lr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ko(e,t,n){const r=me(e);let o=0;for(;o<n.length;){const i=n[o];if("number"==typeof i){if(0!==i)break;o++;const s=n[o++],a=n[o++],l=n[o++];r?e.setAttribute(t,a,l,s):t.setAttributeNS(s,a,l)}else{const s=i,a=n[++o];ta(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),o++}}return o}function ld(e){return 3===e||4===e||6===e}function ta(e){return 64===e.charCodeAt(0)}function Jo(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||ud(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function ud(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 cd(e){return-1!==e}function Wn(e){return 32767&e}function Qn(e,t){let n=function Ry(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let na=!0;function Xo(e){const t=na;return na=e,t}let Py=0;function Hr(e,t){const n=oa(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ra(r.data,e),ra(t,null),ra(r.blueprint,null));const o=ei(e,t),i=e.injectorIndex;if(cd(o)){const s=Wn(o),a=Qn(o,t),l=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function ra(e,t){e.push(0,0,0,0,0,0,0,0,t)}function oa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ei(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ti(e,t,n){!function Vy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Or)&&(r=n[Or]),null==r&&(r=n[Or]=Py++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function hd(e,t,n){if(n&B.Optional)return e;Po(t,"NodeInjector")}function pd(e,t,n,r){if(n&B.Optional&&void 0===r&&(r=null),0==(n&(B.Self|B.Host))){const o=e[9],i=tn(void 0);try{return o?o.get(t,r,n&B.Optional):kc(t,r,n&B.Optional)}finally{tn(i)}}return hd(r,t,n)}function gd(e,t,n,r=B.Default,o){if(null!==e){const i=function Hy(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Or)?e[Or]:void 0;return"number"==typeof t?t>=0?255&t:Ly:t}(n);if("function"==typeof i){if(!td(t,e,r))return r&B.Host?hd(o,n,r):pd(t,n,r,o);try{const s=i(r);if(null!=s||r&B.Optional)return s;Po(n)}finally{id()}}else if("number"==typeof i){let s=null,a=oa(e,t),l=-1,u=r&B.Host?t[16][6]:null;for((-1===a||r&B.SkipSelf)&&(l=-1===a?ei(e,t):t[a+8],-1!==l&&vd(r,!1)?(s=t[1],a=Wn(l),t=Qn(l,t)):a=-1);-1!==a;){const c=t[1];if(_d(i,a,c.data)){const d=By(a,t,n,s,r,u);if(d!==md)return d}l=t[a+8],-1!==l&&vd(r,t[1].data[a+8]===u)&&_d(i,a,t)?(s=c,a=Wn(l),t=Qn(l,t)):a=-1}}}return pd(t,n,r,o)}const md={};function Ly(){return new Zn(Me(),w())}function By(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=function ni(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let p=r?a:a+c;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&&vt(p)&&p.type===n)return l}return null}(a,s,n,null==r?jo(a)&&na:r!=s&&0!=(3&a.type),o&B.Host&&i===a);return null!==c?jr(t,s,c,a):md}function jr(e,t,n,r){let o=e[n];const i=t.data;if(function xy(e){return e instanceof Lr}(o)){const s=o;s.resolving&&function Ov(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Y(-200,`Circular dependency in DI detected for ${e}${n}`)}(Be(i[n]));const a=Xo(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?tn(s.injectImpl):null;td(e,r,B.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Ty(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=zc(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&&tn(l),Xo(a),s.resolving=!1,id()}}return o}function _d(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function vd(e,t){return!(e&B.Self||e&B.Host&&t)}class Zn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return gd(this._tNode,this._lView,t,r,n)}}function Oe(e){return nn(()=>{const t=e.prototype.constructor,n=t[qt]||ia(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[qt]||ia(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ia(e){return Oc(e)?()=>{const t=ia(H(e));return t&&t()}:An(e)}const Kn="__parameters__";function Xn(e,t,n){return nn(()=>{const r=function aa(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,u,c){const d=l.hasOwnProperty(Kn)?l[Kn]:Object.defineProperty(l,Kn,{value:[]})[Kn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class J{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}))}toString(){return`InjectionToken ${this._desc}`}}function Ft(e,t){e.forEach(n=>Array.isArray(n)?Ft(n,t):t(n))}function Cd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ri(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function et(e,t,n){let r=er(e,t);return r>=0?e[1|r]=n:(r=~r,function zy(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 ua(e,t){const n=er(e,t);if(n>=0)return e[1|n]}function er(e,t){return function bd(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 Gr={},da="__NG_DI_FLAG__",ii="ngTempTokenPath",Ky=/\n/gm,Md="__source",Xy=ie({provide:String,useValue:ie});let qr;function Id(e){const t=qr;return qr=e,t}function eC(e,t=B.Default){if(void 0===qr)throw new Y(203,"");return null===qr?kc(e,void 0,t):qr.get(e,t&B.Optional?null:void 0,t)}function oe(e,t=B.Default){return(function Hv(){return Os}()||eC)(H(e),t)}const tC=oe;function fa(e){const t=[];for(let n=0;n<e.length;n++){const r=H(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Y(900,"");let o,i=B.Default;for(let s=0;s<r.length;s++){const a=r[s],l=nC(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}t.push(oe(o,i))}else t.push(oe(r))}return t}function Wr(e,t){return e[da]=t,e.prototype[da]=t,e}function nC(e){return e[da]}const si=Wr(Xn("Optional"),8),ai=Wr(Xn("SkipSelf"),4);class Pd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function cn(e){return e instanceof Pd?e.changingThisBreaksApplicationSecurity:e}const EC=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,MC=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var we=(()=>((we=we||{})[we.NONE=0]="NONE",we[we.HTML=1]="HTML",we[we.STYLE=2]="STYLE",we[we.SCRIPT=3]="SCRIPT",we[we.URL=4]="URL",we[we.RESOURCE_URL=5]="RESOURCE_URL",we))();function rr(e){const t=function Kr(){const e=w();return e&&e[12]}();return t?t.sanitize(we.URL,e)||"":function Zr(e,t){const n=function CC(e){return e instanceof Pd&&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 https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?cn(e):function di(e){return(e=String(e)).match(EC)||e.match(MC)?e:"unsafe:"+e}(V(e))}const Gd="__ngContext__";function Re(e,t){e[Gd]=t}function wa(e){const t=function Jr(e){return e[Gd]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ea(e){return e.ngOriginalError}function QC(e,...t){e.error(...t)}class Xr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function WC(e){return e&&e.ngErrorLogger||QC}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ea(t);for(;n&&Ea(n);)n=Ea(n);return n||null}}const oD=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(re))();function Ma(e){return e.ownerDocument.defaultView}function Rt(e){return e instanceof Function?e():e}var tt=(()=>((tt=tt||{})[tt.Important=1]="Important",tt[tt.DashCase=2]="DashCase",tt))();function Aa(e,t){return undefined(e,t)}function eo(e){const t=e[3];return _t(t)?t[3]:t}function Ta(e){return ef(e[13])}function Sa(e){return ef(e[4])}function ef(e){for(;null!==e&&!_t(e);)e=e[4];return e}function ir(e,t,n,r,o){if(null!=r){let i,s=!1;_t(r)?i=r:xt(r)&&(s=!0,r=r[0]);const a=De(r);0===e&&null!==n?null==o?af(t,n,a):Tn(t,n,a,o||null,!0):1===e&&null!==n?Tn(t,n,a,o||null,!0):2===e?function pf(e,t,n){const r=hi(e,t);r&&function _D(e,t,n,r){me(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function CD(e,t,n,r,o){const i=n[7];i!==De(n)&&ir(t,e,r,i,o);for(let a=10;a<n.length;a++){const l=n[a];to(l[1],l,e,t,r,i)}}(t,e,i,n,o)}}function Na(e,t,n){if(me(e))return e.createElement(t,n);{const r=null!==n?function sy(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function nf(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Ws(o,-1)),n.splice(r,1)}function Fa(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&nf(o,r),t>0&&(e[n-1][4]=r[4]);const i=ri(e,10+t);!function uD(e,t){to(e,t,t[j],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]&=-129}return r}function rf(e,t){if(!(256&t[2])){const n=t[j];me(n)&&n.destroyNode&&to(e,t,n,3,null,null),function fD(e){let t=e[13];if(!t)return Oa(e[1],e);for(;t;){let n=null;if(xt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)xt(t)&&Oa(t[1],t),t=t[3];null===t&&(t=e),xt(t)&&Oa(t[1],t),n=t&&t[4]}t=n}}(t)}}function Oa(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function mD(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 Lr)){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 gD(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+1],a="function"==typeof s?s(t):De(t[s]),l=r[o=n[i+2]],u=n[i+3];"boolean"==typeof u?a.removeEventListener(n[i],l,u):u>=0?r[o=u]():r[o=-u].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++)r[i]();t[7]=null}}(e,t),1===t[1].type&&me(t[j])&&t[j].destroy();const n=t[17];if(null!==n&&_t(t[3])){n!==t[3]&&nf(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function of(e,t,n){return function sf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===St.None||o===St.Emulated)return null}return lt(r,n)}(e,t.parent,n)}function Tn(e,t,n,r,o){me(e)?e.insertBefore(t,n,r,o):t.insertBefore(n,r,o)}function af(e,t,n){me(e)?e.appendChild(t,n):t.appendChild(n)}function lf(e,t,n,r,o){null!==r?Tn(e,t,n,r,o):af(e,t,n)}function hi(e,t){return me(e)?e.parentNode(t):t.parentNode}let df=function cf(e,t,n){return 40&e.type?lt(e,n):null};function pi(e,t,n,r){const o=of(e,r,t),i=t[j],a=function uf(e,t,n){return df(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)lf(i,o,n[l],a,!1);else lf(i,o,n,a,!1)}function gi(e,t){if(null!==t){const n=t.type;if(3&n)return lt(t,e);if(4&n)return Pa(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return gi(e,r);{const o=e[t.index];return _t(o)?Pa(-1,o):De(o)}}if(32&n)return Aa(t,e)()||De(e[t.index]);{const r=hf(e,t);return null!==r?Array.isArray(r)?r[0]:gi(eo(e[16]),r):gi(e,t.next)}}return null}function hf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Pa(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return gi(r,o)}return t[7]}function Va(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===t&&(a&&Re(De(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)Va(e,t,n.child,r,o,i,!1),ir(t,e,o,a,i);else if(32&l){const u=Aa(n,r);let c;for(;c=u();)ir(t,e,o,c,i);ir(t,e,o,a,i)}else 16&l?gf(e,t,r,n,o,i):ir(t,e,o,a,i);n=s?n.projectionNext:n.next}}function to(e,t,n,r,o,i){Va(n,r,e.firstChild,t,o,i,!1)}function gf(e,t,n,r,o,i){const s=n[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)ir(t,e,o,l[u],i);else Va(e,t,l,s[3],o,i,!0)}function mf(e,t,n){me(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ka(e,t,n){me(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function _f(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 vf="ng-template";function wD(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==_f(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 yf(e){return 4===e.type&&e.value!==vf}function bD(e,t,n){return t===(4!==e.type||n?e.value:vf)}function ED(e,t,n){let r=4;const o=e.attrs||[],i=function AD(e){for(let t=0;t<e.length;t++)if(ld(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&&!bD(e,l,n)||""===l&&1===t.length){if(yt(r))return!1;s=!0}}else{const u=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!wD(e.attrs,u,n)){if(yt(r))return!1;s=!0}continue}const d=MD(8&r?"class":l,o,yf(e),n);if(-1===d){if(yt(r))return!1;s=!0;continue}if(""!==u){let f;f=d>i?"":o[d+1].toLowerCase();const p=8&r?f:null;if(p&&-1!==_f(p,u,0)||2&r&&u!==f){if(yt(r))return!1;s=!0}}}}else{if(!s&&!yt(r)&&!yt(l))return!1;if(s&&yt(l))continue;s=!1,r=l|1&r}}return yt(r)||s}function yt(e){return 0==(1&e)}function MD(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 TD(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 Cf(e,t,n=!1){for(let r=0;r<t.length;r++)if(ED(e,t[r],n))return!0;return!1}function Df(e,t){return e?":not("+t.trim()+")":t}function xD(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&&!yt(s)&&(t+=Df(i,o),o=""),r=s,i=i||!yt(r);n++}return""!==o&&(t+=Df(i,o)),t}const L={};function h(e){wf(K(),w(),je()+e,zo())}function wf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Zo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Yo(t,i,0,n)}ln(n)}function mi(e,t){return e<<17|t<<2}function Ct(e){return e>>17&32767}function La(e){return 2|e}function Yt(e){return(131068&e)>>2}function Ba(e,t){return-131069&e|t<<2}function Ha(e){return 1|e}function Of(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];Js(o),s.contentQueries(2,t[i],i)}}}function no(e,t,n,r,o,i,s,a,l,u){const c=t.blueprint.slice();return c[0]=o,c[2]=140|r,Zc(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[j]=a||e&&e[j],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=i,c[16]=2==t.type?e[16]:c,c}function sr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Za(e,t,n,r,o){const i=Kc(),s=Qs(),l=e.data[t]=function QD(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-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 vy(){return P.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function kr(){const e=P.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Nt(i,!0),i}function ar(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 ro(e,t,n){qo(t);try{const r=e.viewQuery;null!==r&&ol(1,r,n);const o=e.template;null!==o&&Rf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Of(e,t),e.staticViewQueries&&ol(2,e.viewQuery,n);const i=e.components;null!==i&&function GD(e,t){for(let n=0;n<t.length;n++)fw(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Wo()}}function lr(e,t,n,r){const o=t[2];if(256==(256&o))return;qo(t);const i=zo();try{Zc(t),function Jc(e){return P.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Rf(e,t,n,2,r);const s=3==(3&o);if(!i)if(s){const u=e.preOrderCheckHooks;null!==u&&Zo(t,u,null)}else{const u=e.preOrderHooks;null!==u&&Yo(t,u,0,null),Xs(t,0)}if(function cw(e){for(let t=Ta(e);null!==t;t=Sa(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==(1024&o[2])&&Ws(i,1),o[2]|=1024}}}(t),function uw(e){for(let t=Ta(e);null!==t;t=Sa(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];qs(r)&&lr(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&Of(e,t),!i)if(s){const u=e.contentCheckHooks;null!==u&&Zo(t,u)}else{const u=e.contentHooks;null!==u&&Yo(t,u,1),Xs(t,1)}!function UD(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)ln(~o);else{const i=o,s=n[++r],a=n[++r];yy(s,i),a(2,t[i])}}}finally{ln(-1)}}(e,t);const a=e.components;null!==a&&function zD(e,t){for(let n=0;n<t.length;n++)dw(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&ol(2,l,r),!i)if(s){const u=e.viewCheckHooks;null!==u&&Zo(t,u)}else{const u=e.viewHooks;null!==u&&Yo(t,u,2),Xs(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ws(t[3],-1))}finally{Wo()}}function qD(e,t,n,r){const o=t[10],i=!zo(),s=function Qc(e){return 4==(4&e[2])}(t);try{i&&!s&&o.begin&&o.begin(),s&&ro(e,t,r),lr(e,t,n,r)}finally{i&&!s&&o.end&&o.end()}}function Rf(e,t,n,r,o){const i=je(),s=2&r;try{ln(-1),s&&t.length>20&&wf(e,t,20,zo()),n(r,o)}finally{ln(i)}}function Pf(e,t,n){if(Ls(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 Ya(e,t,n){!Yc()||(function tw(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Hr(n,t),Re(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const l=e.data[a],u=vt(l);u&&sw(t,n,l);const c=jr(t,e,a,n);Re(c,t),null!==s&&aw(0,a-o,c,l,0,s),u&&(Xe(n.index,t)[8]=c)}}(e,t,n,lt(n,t)),128==(128&n.flags)&&function nw(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,a=function Cy(){return P.lFrame.currentDirectiveIndex}();try{ln(s);for(let l=r;l<o;l++){const u=e.data[l],c=t[l];Ys(l),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&Uf(u,c)}}finally{ln(-1),Ys(a)}}(e,t,n))}function Ka(e,t,n=lt){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 Vf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=yi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function yi(e,t,n,r,o,i,s,a,l,u){const c=20+r,d=c+o,f=function WD(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:L);return n}(c,d),p="function"==typeof u?u():u;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,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 Hf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function nt(e,t,n,r,o,i,s,a){const l=lt(t,n);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(Xf(e,n,c,r,o),jo(t)&&function KD(e,t){const n=Xe(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function YD(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,me(i)?i.setProperty(l,r,o):ta(r)||(l.setProperty?l.setProperty(r,o):l[r]=o))}function Ja(e,t,n,r){let o=!1;if(Yc()){const i=function rw(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];Cf(n,s.selectors,!1)&&(o||(o=[]),ti(Hr(n,t),e,s.type),vt(s)?(zf(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===r?null:{"":-1};if(null!==i){o=!0,Gf(n,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,u=ar(e,t,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];n.mergedAttrs=Jo(n.mergedAttrs,d.hostAttrs),qf(e,n,t,u,d),iw(u,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),l=!0),u++}!function ZD(e,t){const r=t.directiveEnd,o=e.data,i=t.attrs,s=[];let a=null,l=null;for(let u=t.directiveStart;u<r;u++){const c=o[u],d=c.inputs,f=null===i||yf(t)?null:lw(d,i);s.push(f),a=Hf(d,u,a),l=Hf(c.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=l}(e,n)}s&&function ow(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 Y(-301,!1);r.push(t[o],i)}}}(n,r,s)}return n.mergedAttrs=Jo(n.mergedAttrs,n.attrs),o}function $f(e,t,n,r,o,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const l=~t.index;(function ew(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,o,s)}}function Uf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function zf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function iw(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;vt(t)&&(n[""]=e)}}function Gf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function qf(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=An(o.type)),s=new Lr(i,vt(o),null);e.blueprint[r]=s,n[r]=s,$f(e,t,0,r,ar(e,n,o.hostVars,L),o)}function sw(e,t,n){const r=lt(t,e),o=Vf(n),i=e[10],s=Ci(e,no(e,o,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=s}function Pt(e,t,n,r,o,i){const s=lt(e,t);!function Xa(e,t,n,r,o,i,s){if(null==i)me(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const a=null==s?V(i):s(i,r||"",o);me(e)?e.setAttribute(t,o,a,n):n?t.setAttributeNS(n,o,a):t.setAttribute(o,a)}}(t[j],s,i,e.value,n,r,o)}function aw(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 u=s[l++],c=s[l++],d=s[l++];null!==a?r.setInput(n,d,u,c):n[c]=d}}}function lw(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Wf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function dw(e,t){const n=Xe(t,e);if(qs(n)){const r=n[1];80&n[2]?lr(r,n,r.template,n[8]):n[5]>0&&el(n)}}function el(e){for(let r=Ta(e);null!==r;r=Sa(r))for(let o=10;o<r.length;o++){const i=r[o];if(1024&i[2]){const s=i[1];lr(s,i,s.template,i[8])}else i[5]>0&&el(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Xe(n[r],e);qs(o)&&o[5]>0&&el(o)}}function fw(e,t){const n=Xe(t,e),r=n[1];(function hw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),ro(r,n,n[8])}function Ci(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function tl(e){for(;e;){e[2]|=64;const t=eo(e);if(Yv(e)&&!t)return e;e=t}return null}function rl(e,t,n){const r=t[10];r.begin&&r.begin();try{lr(e,t,e.template,n)}catch(o){throw Jf(t,o),o}finally{r.end&&r.end()}}function Qf(e){!function nl(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=wa(n),o=r[1];qD(o,r,o.template,n)}}(e[8])}function ol(e,t,n){Js(0),t(e,n)}const _w=(()=>Promise.resolve(null))();function Zf(e){return e[7]||(e[7]=[])}function Yf(e){return e.cleanup||(e.cleanup=[])}function Jf(e,t){const n=e[9],r=n?n.get(Xr,null):null;r&&r.handleError(t)}function Xf(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],l=t[s],u=e.data[s];null!==u.setInput?u.setInput(l,o,r,a):l[a]=o}}function Kt(e,t,n){const r=Uo(t,e);!function tf(e,t,n){me(e)?e.setValue(t,n):t.textContent=n}(e[j],r,n)}function Di(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=Ss(o,a):2==i&&(r=Ss(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}const il=new J("INJECTOR",-1);class eh{get(t,n=Gr){if(n===Gr){const r=new Error(`NullInjectorError: No provider for ${te(t)}!`);throw r.name="NullInjectorError",r}return n}}const sl=new J("Set Injector scope."),oo={},Cw={};let al;function th(){return void 0===al&&(al=new eh),al}function nh(e,t=null,n=null,r){const o=rh(e,t,n,r);return o._resolveInjectorDefTypes(),o}function rh(e,t=null,n=null,r){return new Dw(e,n,t||th(),r)}class Dw{constructor(t,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&Ft(n,a=>this.processProvider(a,t,n)),Ft([t],a=>this.processInjectorType(a,[],i)),this.records.set(il,ur(void 0,this));const s=this.records.get(sl);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:te(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Gr,r=B.Default){this.assertNotDestroyed();const o=Id(this),i=tn(void 0);try{if(!(r&B.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function Sw(e){return"function"==typeof e||"object"==typeof e&&e instanceof J}(t)&&Ns(t);a=l&&this.injectableDefInScope(l)?ur(ll(t),oo):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&B.Self?th():this.parent).get(t,n=r&B.Optional&&n===Gr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[ii]=s[ii]||[]).unshift(te(t)),o)throw s;return function rC(e,t,n,r){const o=e[ii];throw t[Md]&&o.unshift(t[Md]),e.message=function oC(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=te(t);if(Array.isArray(t))o=t.map(te).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):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ky,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ii]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{tn(i),Id(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(te(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Y(205,!1)}processInjectorType(t,n,r){if(!(t=H(t)))return!1;let o=Pc(t);const i=null==o&&t.ngModule||void 0,s=void 0===i?t:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=Pc(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{Ft(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:p}=c[d];Ft(p,m=>this.processProvider(m,f,p||se))}}this.injectorDefTypes.add(s);const l=An(s)||(()=>new s);this.records.set(s,ur(l,oo));const u=o.providers;if(null!=u&&!a){const c=t;Ft(u,d=>this.processProvider(d,c,u))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let o=cr(t=H(t))?t:H(t&&t.provide);const i=function bw(e,t,n){return ih(e)?ur(void 0,e.useValue):ur(oh(e),oo)}(t);if(cr(t)||!0!==t.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=ur(void 0,oo,!0),s.factory=()=>fa(s.multi),this.records.set(o,s)),o=t,s.multi.push(t)}this.records.set(o,i)}hydrate(t,n){return n.value===oo&&(n.value=Cw,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Tw(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=H(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function ll(e){const t=Ns(e),n=null!==t?t.factory:An(e);if(null!==n)return n;if(e instanceof J)throw new Y(204,!1);if(e instanceof Function)return function ww(e){const t=e.length;if(t>0)throw function zr(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new Y(204,!1);const n=function kv(e){const t=e&&(e[Vo]||e[Vc]);if(t){const n=function Lv(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 Y(204,!1)}function oh(e,t,n){let r;if(cr(e)){const o=H(e);return An(o)||ll(o)}if(ih(e))r=()=>H(e.useValue);else if(function Mw(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...fa(e.deps||[]));else if(function Ew(e){return!(!e||!e.useExisting)}(e))r=()=>oe(H(e.useExisting));else{const o=H(e&&(e.useClass||e.provide));if(!function Aw(e){return!!e.deps}(e))return An(o)||ll(o);r=()=>new o(...fa(e.deps))}return r}function ur(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ih(e){return null!==e&&"object"==typeof e&&Xy in e}function cr(e){return"function"==typeof e}let ct=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return nh({name:""},r,n,"");{const i=null!==(o=n.name)&&void 0!==o?o:"";return nh({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Gr,e.NULL=new eh,e.\u0275prov=de({token:e,providedIn:"any",factory:()=>oe(il)}),e.__NG_ELEMENT_ID__=-1,e})();function kw(e,t){Qo(wa(e)[1],Me())}function ne(e){let t=function _h(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(vt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Y(903,"");o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=dl(e.inputs),s.declaredInputs=dl(e.declaredInputs),s.outputs=dl(e.outputs);const a=o.hostBindings;a&&jw(e,a);const l=o.viewQuery,u=o.contentQueries;if(l&&Bw(e,l),u&&Hw(e,u),Ts(e.inputs,o.inputs),Ts(e.declaredInputs,o.declaredInputs),Ts(e.outputs,o.outputs),vt(o)&&o.data.animation){const c=e.data;c.animation=(c.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===ne&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Lw(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=Jo(o.hostAttrs,n=Jo(n,o.hostAttrs))}}(r)}function dl(e){return e===Hn?{}:e===se?[]:e}function Bw(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function Hw(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function jw(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let wi=null;function dr(){if(!wi){const e=re.Symbol;if(e&&e.iterator)wi=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&&(wi=r)}}}return wi}function io(e){return!!fl(e)&&(Array.isArray(e)||!(e instanceof Map)&&dr()in e)}function fl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Vt(e,t,n){return e[t]=n}function Pe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Sn(e,t,n,r){const o=Pe(e,t,n);return Pe(e,t+1,r)||o}function kt(e,t,n,r){const o=w();return Pe(o,qn(),t)&&(K(),Pt(_e(),o,e,t,n,r)),kt}function hr(e,t,n,r){return Pe(e,qn(),n)?t+V(n)+r:L}function E(e,t,n,r,o,i,s,a){const l=w(),u=K(),c=e+20,d=u.firstCreatePass?function Qw(e,t,n,r,o,i,s,a,l){const u=t.consts,c=sr(t,e,4,s||null,an(u,a));Ja(t,n,c,an(u,l)),Qo(t,c);const d=c.tViews=yi(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,r,o,i,s):u.data[c];Nt(d,!1);const f=l[j].createComment("");pi(u,l,f,d),Re(f,l),Ci(l,l[c]=Wf(f,l,f,d)),$o(d)&&Ya(u,l,d),null!=s&&Ka(l,d,a)}function A(e,t=B.Default){const n=w();return null===n?oe(e,t):gd(Me(),n,H(e),t)}function g(e,t,n){const r=w();return Pe(r,qn(),t)&&nt(K(),_e(),r,e,t,r[j],n,!1),g}function _l(e,t,n,r,o){const s=o?"class":"style";Xf(e,n,t.inputs[s],s,r)}function y(e,t,n,r){const o=w(),i=K(),s=20+e,a=o[j],l=o[s]=Na(a,t,function Ay(){return P.lFrame.currentNamespace}()),u=i.firstCreatePass?function _b(e,t,n,r,o,i,s){const a=t.consts,u=sr(t,e,2,o,an(a,i));return Ja(t,n,u,an(a,s)),null!==u.attrs&&Di(u,u.attrs,!1),null!==u.mergedAttrs&&Di(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,0,t,n,r):i.data[s];Nt(u,!0);const c=u.mergedAttrs;null!==c&&Ko(a,l,c);const d=u.classes;null!==d&&ka(a,l,d);const f=u.styles;return null!==f&&mf(a,l,f),64!=(64&u.flags)&&pi(i,o,l,u),0===function fy(){return P.lFrame.elementDepthCount}()&&Re(l,o),function hy(){P.lFrame.elementDepthCount++}(),$o(u)&&(Ya(i,o,u),Pf(i,u,o)),null!==r&&Ka(o,u),y}function v(){let e=Me();Qs()?Zs():(e=e.parent,Nt(e,!1));const t=e;!function py(){P.lFrame.elementDepthCount--}();const n=K();return n.firstCreatePass&&(Qo(n,e),Ls(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Fy(e){return 0!=(16&e.flags)}(t)&&_l(n,t,w(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Oy(e){return 0!=(32&e.flags)}(t)&&_l(n,t,w(),t.stylesWithoutHost,!1),v}function F(e,t,n,r){return y(e,t,n,r),v(),F}function Q(e,t,n){const r=w(),o=K(),i=e+20,s=o.firstCreatePass?function vb(e,t,n,r,o){const i=t.consts,s=an(i,r),a=sr(t,e,8,"ng-container",s);return null!==s&&Di(a,s,!0),Ja(t,n,a,an(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Nt(s,!0);const a=r[i]=r[j].createComment("");return pi(o,r,a,s),Re(a,r),$o(s)&&(Ya(o,r,s),Pf(o,s,r)),null!=n&&Ka(r,s),Q}function Z(){let e=Me();const t=K();return Qs()?Zs():(e=e.parent,Nt(e,!1)),t.firstCreatePass&&(Qo(t,e),Ls(e)&&t.queries.elementEnd(e)),Z}function rt(){return w()}function Mi(e){return!!e&&"function"==typeof e.then}const Bh=function Lh(e){return!!e&&"function"==typeof e.subscribe};function z(e,t,n,r){const o=w(),i=K(),s=Me();return function jh(e,t,n,r,o,i,s,a){const l=$o(r),c=e.firstCreatePass&&Yf(e),d=t[8],f=Zf(t);let p=!0;if(3&r.type||a){const M=lt(r,t),I=a?a(M):M,_=f.length,N=a?U=>a(De(U[r.index])):r.index;if(me(n)){let U=null;if(!a&&l&&(U=function yb(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!==U)(U.__ngLastListenerFn__||U).__ngNextListenerFn__=i,U.__ngLastListenerFn__=i,p=!1;else{i=vl(r,t,d,i,!1);const X=n.listen(I,o,i);f.push(i,X),c&&c.push(o,N,_,_+1)}}else i=vl(r,t,d,i,!0),I.addEventListener(o,i,s),f.push(i),c&&c.push(o,N,_,s)}else i=vl(r,t,d,i,!1);const m=r.outputs;let D;if(p&&null!==m&&(D=m[o])){const M=D.length;if(M)for(let I=0;I<M;I+=2){const ot=t[D[I]][D[I+1]].subscribe(i),kn=f.length;f.push(i,ot),c&&c.push(o,r.index,kn,-(kn+1))}}}(i,o,o[j],s,e,t,!!n,r),z}function $h(e,t,n,r){try{return!1!==n(r)}catch(o){return Jf(e,o),!1}}function vl(e,t,n,r,o){return function i(s){if(s===Function)return r;const a=2&e.flags?Xe(e.index,t):t;0==(32&t[2])&&tl(a);let l=$h(t,0,r,s),u=i.__ngNextListenerFn__;for(;u;)l=$h(t,0,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function C(e=1){return function wy(e){return(P.lFrame.contextLView=function by(e,t){for(;e>0;)t=t[15],e--;return t}(e,P.lFrame.contextLView))[8]}(e)}function wr(e,t,n){return yl(e,"",t,"",n),wr}function yl(e,t,n,r,o){const i=w(),s=hr(i,t,n,r);return s!==L&&nt(K(),_e(),i,e,s,i[j],o,!1),yl}function Kh(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Ct(i):Yt(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];Mb(e[a],t)&&(l=!0,e[a+1]=r?Ha(c):La(c)),a=r?Ct(c):Yt(c)}l&&(e[n+1]=r?La(i):Ha(i))}function Mb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&er(e,t)>=0}const Ae={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Jh(e){return e.substring(Ae.key,Ae.keyEnd)}function Xh(e,t){const n=Ae.textEnd;return n===t?-1:(t=Ae.keyEnd=function Sb(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ae.key=t,n),br(e,t,n))}function br(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ii(e,t){return function wt(e,t,n,r){const o=w(),i=K(),s=Zt(2);i.firstUpdatePass&&sp(i,e,s,r),t!==L&&Pe(o,s,t)&&lp(i,i.data[je()],o,o[j],e,o[s+1]=function Hb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=te(cn(e)))),e}(t,n),r,s)}(e,t,null,!0),Ii}function Bt(e,t){for(let n=function Ab(e){return function tp(e){Ae.key=0,Ae.keyEnd=0,Ae.value=0,Ae.valueEnd=0,Ae.textEnd=e.length}(e),Xh(e,br(e,0,Ae.textEnd))}(t);n>=0;n=Xh(t,n))et(e,Jh(t),!0)}function ip(e,t){return t>=e.expandoStartIndex}function sp(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[je()],s=ip(e,n);cp(i,r)&&null===t&&!s&&(t=!1),t=function Rb(e,t,n,r){const o=function Ks(e){const t=P.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=ao(n=Cl(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Cl(o,e,t,n,r),null===i){let l=function Pb(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Yt(r))return e[Ct(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Cl(null,e,t,l[1],r),l=ao(l,t.attrs,r),function Vb(e,t,n,r){e[Ct(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function kb(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=ao(r,e[i].hostAttrs,n);return ao(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function bb(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ct(s),l=Yt(s);e[r]=n;let c,u=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||er(d,c)>0)&&(u=!0)}else c=n;if(o)if(0!==l){const f=Ct(e[a+1]);e[r+1]=mi(f,a),0!==f&&(e[f+1]=Ba(e[f+1],r)),e[a+1]=function OD(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=mi(a,0),0!==a&&(e[a+1]=Ba(e[a+1],r)),a=r;else e[r+1]=mi(l,0),0===a?a=r:e[l+1]=Ba(e[l+1],r),l=r;u&&(e[r+1]=La(e[r+1])),Kh(e,c,r,!0),Kh(e,c,r,!1),function Eb(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&er(i,t)>=0&&(n[r+1]=Ha(n[r+1]))}(t,c,e,r,i),s=mi(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function Cl(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=ao(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function ao(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]),et(e,s,!!n||t[++i]))}return void 0===e?null:e}function lp(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1];Ai(function Mf(e){return 1==(1&e)}(u)?up(l,t,n,o,Yt(u),s):void 0)||(Ai(i)||function Ef(e){return 2==(2&e)}(u)&&(i=up(l,null,n,o,a,s)),function DD(e,t,n,r,o){const i=me(e);if(t)o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:tt.DashCase;if(null==o)i?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof o&&o.endsWith("!important");a&&(o=o.slice(0,-10),s|=tt.Important),i?e.setStyle(n,r,o,s):n.style.setProperty(r,o,a?"important":"")}}}(r,s,Uo(je(),n),o,i))}function up(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===L&&(f=d?se:void 0);let p=d?ua(f,r):c===r?f:void 0;if(u&&!Ai(p)&&(p=ua(l,r)),Ai(p)&&(a=p,s))return a;const m=e[o+1];o=s?Ct(m):Yt(m)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=ua(l,r))}return a}function Ai(e){return void 0!==e}function cp(e,t){return 0!=(e.flags&(t?16:32))}function b(e,t=""){const n=w(),r=K(),o=e+20,i=r.firstCreatePass?sr(r,o,1,t,null):r.data[o],s=n[o]=function xa(e,t){return me(e)?e.createText(t):e.createTextNode(t)}(n[j],t);pi(r,n,s,i),Nt(i,!1)}function x(e){return q("",e,""),x}function q(e,t,n){const r=w(),o=hr(r,e,t,n);return o!==L&&Kt(r,je(),o),q}function Ht(e,t,n){!function bt(e,t,n,r){const o=K(),i=Zt(2);o.firstUpdatePass&&sp(o,null,i,r);const s=w();if(n!==L&&Pe(s,i,n)){const a=o.data[je()];if(cp(a,r)&&!ip(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=Ss(l,n||"")),_l(o,a,s,n,r)}else!function Bb(e,t,n,r,o,i,s,a){o===L&&(o=se);let l=0,u=0,c=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==c||null!==d;){const f=l<o.length?o[l+1]:void 0,p=u<i.length?i[u+1]:void 0;let D,m=null;c===d?(l+=2,u+=2,f!==p&&(m=d,D=p)):null===d||null!==c&&c<d?(l+=2,m=c):(u+=2,m=d,D=p),null!==m&&lp(e,t,n,r,m,D,s,a),c=l<o.length?o[l]:null,d=u<i.length?i[u]:null}}(o,a,s,s[j],s[i+1],s[i+1]=function Lb(e,t,n){if(null==n||""===n)return se;const r=[],o=cn(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)}}(et,Bt,hr(w(),e,t,n),!0)}const Ti="en-US";let Fp=Ti;function bl(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)bl(e[i],t,n,r,o);else{const i=K(),s=w();let a=cr(e)?e:H(e.provide),l=oh(e);const u=Me(),c=1048575&u.providerIndexes,d=u.directiveStart,f=u.providerIndexes>>20;if(cr(e)||!e.multi){const p=new Lr(l,o,A),m=Ml(a,t,o?c:c+f,d);-1===m?(ti(Hr(u,s),i,a),El(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{const p=Ml(a,t,c+f,d),m=Ml(a,t,c,c+f),D=p>=0&&n[p],M=m>=0&&n[m];if(o&&!M||!o&&!D){ti(Hr(u,s),i,a);const I=function iE(e,t,n,r,o){const i=new Lr(e,n,A);return i.multi=[],i.index=t,i.componentProviders=0,ng(i,o,r&&!n),i}(o?oE:rE,n.length,o,r,l);!o&&M&&(n[m].providerFactory=I),El(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(I),s.push(I)}else El(i,e,p>-1?p:m,ng(n[o?m:p],l,!o&&r));!o&&r&&M&&n[m].componentProviders++}}}function El(e,t,n,r){const o=cr(t),i=function Iw(e){return!!e.useClass}(t);if(o||i){const l=(i?H(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function ng(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ml(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function rE(e,t,n,r){return Il(this.multi,[])}function oE(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=jr(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),Il(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],Il(o,i);return i}function Il(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function he(e,t=[]){return n=>{n.providersResolver=(r,o)=>function nE(e,t,n){const r=K();if(r.firstCreatePass){const o=vt(e);bl(n,r.data,r.blueprint,o,!0),bl(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class rg{}class lE{resolveComponentFactory(t){throw function aE(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Oi=(()=>{class e{}return e.NULL=new lE,e})();function uE(){return Ir(Me(),w())}function Ir(e,t){return new Et(lt(e,t))}let Et=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=uE,e})();class ig{}let Nn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function fE(){const e=w(),n=Xe(Me().index,e);return function dE(e){return e[j]}(xt(n)?n:e)}(),e})(),hE=(()=>{class e{}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>null}),e})();class Ri{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const pE=new Ri("13.3.0"),Al={};function Pi(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(De(i)),_t(i))for(let a=10;a<i.length;a++){const l=i[a],u=l[1].firstChild;null!==u&&Pi(l[1],l,u,r)}const s=n.type;if(8&s)Pi(e,t,n.child,r);else if(32&s){const a=Aa(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=hf(t,n);if(Array.isArray(a))r.push(...a);else{const l=eo(t[16]);Pi(l[1],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class ho{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 Pi(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(_t(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Fa(t,r),ri(n,r))}this._attachedToViewContainer=!1}rf(this._lView[1],this._lView)}onDestroy(t){!function Bf(e,t,n,r){const o=Zf(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Yf(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){tl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){rl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function gw(e,t,n){Go(!0);try{rl(e,t,n)}finally{Go(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Y(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function dD(e,t){to(e,t,t[j],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Y(902,"");this._appRef=t}}class gE extends ho{constructor(t){super(t),this._view=t}detectChanges(){Qf(this._view)}checkNoChanges(){!function mw(e){Go(!0);try{Qf(e)}finally{Go(!1)}}(this._view)}get context(){return null}}class sg extends Oi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ne(t);return new Tl(n,this.ngModule)}}function ag(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Tl extends rg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function ND(e){return e.map(xD).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return ag(this.componentDef.inputs)}get outputs(){return ag(this.componentDef.outputs)}create(t,n,r,o){const i=(o=o||this.ngModule)?function _E(e,t){return{get:(n,r,o)=>{const i=e.get(n,Al,o);return i!==Al||r===Al?i:t.get(n,r,o)}}}(t,o.injector):t,s=i.get(ig,Wc),a=i.get(hE,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=r?function Lf(e,t,n){if(me(e))return e.selectRootElement(t,n===St.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,r,this.componentDef.encapsulation):Na(s.createRenderer(null,this.componentDef),u,function mE(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),d=this.componentDef.onPush?576:528,f=function mh(e,t){return{components:[],scheduler:e||oD,clean:_w,playerHandler:t||null,flags:0}}(),p=yi(0,null,null,1,0,null,null,null,null,null),m=no(null,p,f,d,null,null,s,l,a,i);let D,M;qo(m);try{const I=function ph(e,t,n,r,o,i){const s=n[1];n[20]=e;const l=sr(s,20,2,"#host",null),u=l.mergedAttrs=t.hostAttrs;null!==u&&(Di(l,u,!0),null!==e&&(Ko(o,e,u),null!==l.classes&&ka(o,e,l.classes),null!==l.styles&&mf(o,e,l.styles)));const c=r.createRenderer(e,t),d=no(n,Vf(t),null,t.onPush?64:16,n[20],l,r,c,i||null,null);return s.firstCreatePass&&(ti(Hr(l,n),s,t.type),zf(s,l),Gf(l,n.length,1)),Ci(n,d),n[20]=d}(c,this.componentDef,m,s,l);if(c)if(r)Ko(l,c,["ng-version",pE.full]);else{const{attrs:_,classes:N}=function FD(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(!yt(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);_&&Ko(l,c,_),N&&N.length>0&&ka(l,c,N.join(" "))}if(M=Gs(p,20),void 0!==n){const _=M.projection=[];for(let N=0;N<this.ngContentSelectors.length;N++){const U=n[N];_.push(null!=U?Array.from(U):null)}}D=function gh(e,t,n,r,o){const i=n[1],s=function XD(e,t,n){const r=Me();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),qf(e,r,t,ar(e,t,1,null),n));const o=jr(t,e,r.directiveStart,r);Re(o,t);const i=lt(r,t);return i&&Re(i,t),o}(i,n,t);if(r.components.push(s),e[8]=s,o&&o.forEach(l=>l(s,t)),t.contentQueries){const l=Me();t.contentQueries(1,s,l.directiveStart)}const a=Me();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ln(a.index),$f(n[1],a,0,a.directiveStart,a.directiveEnd,t),Uf(t,s)),s}(I,this.componentDef,m,f,[kw]),ro(p,m,null)}finally{Wo()}return new yE(this.componentType,D,Ir(M,m),m,M)}}class yE extends class sE{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new gE(o),this.componentType=t}get injector(){return new Zn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Ar{}const Tr=new Map;class cg extends Ar{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sg(this);const r=it(t);this._bootstrapComponents=Rt(r.bootstrap),this._r3Injector=rh(t,n,[{provide:Ar,useValue:this},{provide:Oi,useValue:this.componentFactoryResolver}],te(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=ct.THROW_IF_NOT_FOUND,r=B.Default){return t===ct||t===Ar||t===il?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Sl extends class DE{}{constructor(t){super(),this.moduleType=t,null!==it(t)&&function wE(e){const t=new Set;!function n(r){const o=it(r,!0),i=o.id;null!==i&&(function lg(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${te(t)} vs ${te(t.name)}`)}(i,Tr.get(i),r),Tr.set(i,r));const s=Rt(o.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new cg(this.moduleType,t)}}function Vi(e,t,n,r){return function dg(e,t,n,r,o,i){const s=t+n;return Pe(e,s,o)?Vt(e,s+1,i?r.call(i,o):r(o)):po(e,s+1)}(w(),He(),e,t,n,r)}function xl(e,t,n,r,o){return function fg(e,t,n,r,o,i,s){const a=t+n;return Sn(e,a,o,i)?Vt(e,a+2,s?r.call(s,o,i):r(o,i)):po(e,a+2)}(w(),He(),e,t,n,r,o)}function xe(e,t,n,r,o,i){return hg(w(),He(),e,t,n,r,o,i)}function po(e,t){const n=e[t];return n===L?void 0:n}function hg(e,t,n,r,o,i,s,a){const l=t+n;return function bi(e,t,n,r,o){const i=Sn(e,t,n,r);return Pe(e,t+2,o)||i}(e,l,o,i,s)?Vt(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):po(e,l+3)}function Nl(e){return t=>{setTimeout(e,void 0,t)}}const Ve=class PE extends Ds{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,i,s;let a=t,l=n||(()=>null),u=r;if(t&&"object"==typeof t){const d=t;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),l=null===(i=d.error)||void 0===i?void 0:i.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=Nl(l),a&&(a=Nl(a)),u&&(u=Nl(u)));const c=super.subscribe({next:a,error:l,complete:u});return t instanceof Tt&&t.add(c),c}};Symbol;let Jt=(()=>{class e{}return e.__NG_ELEMENT_ID__=BE,e})();const kE=Jt,LE=class extends kE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=no(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),ro(n,r,t),new ho(r)}};function BE(){return function ki(e,t){return 4&e.type?new LE(t,e,Ir(e,t)):null}(Me(),w())}let jt=(()=>{class e{}return e.__NG_ELEMENT_ID__=HE,e})();function HE(){return function Cg(e,t){let n;const r=t[e.index];if(_t(r))n=r;else{let o;if(8&e.type)o=De(r);else{const i=t[j];o=i.createComment("");const s=lt(e,t);Tn(i,hi(i,s),o,function vD(e,t){return me(e)?e.nextSibling(t):t.nextSibling}(i,s),!1)}t[e.index]=n=Wf(r,t,o,e),Ci(t,n)}return new vg(n,e,t)}(Me(),w())}const jE=jt,vg=class extends jE{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ir(this._hostTNode,this._hostLView)}get injector(){return new Zn(this._hostTNode,this._hostLView)}get parentInjector(){const t=ei(this._hostTNode,this._hostLView);if(cd(t)){const n=Qn(t,this._hostLView),r=Wn(t);return new Zn(n[1].data[r+8],n)}return new Zn(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){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,i){const s=t&&!function Ur(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.ngModuleRef}const l=s?t:new Tl(Ne(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?u:this.parentInjector).get(Ar,null);f&&(i=f)}const c=l.create(u,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function dy(e){return _t(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new vg(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function hD(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],Cd(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function pD(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]|=128}(o,r,s,i);const a=Pa(i,s),l=r[j],u=hi(l,s[7]);return null!==u&&function cD(e,t,n,r,o,i){r[0]=o,r[6]=t,to(e,r,n,1,o,i)}(o,s[6],l,r,u,a),t.attachToViewContainerRef(),Cd(Ol(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=Fa(this._lContainer,n);r&&(ri(Ol(this._lContainer),n),rf(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Fa(this._lContainer,n);return r&&null!=ri(Ol(this._lContainer),n)?new ho(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function yg(e){return e[8]}function Ol(e){return e[8]||(e[8]=[])}function Hi(...e){}const $g=new J("Application Initializer");let zl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Hi,this.reject=Hi,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(Mi(i))n.push(i);else if(Bh(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)(oe($g,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const _o=new J("AppId",{providedIn:"root",factory:function Ug(){return`${Gl()}${Gl()}${Gl()}`}});function Gl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const zg=new J("Platform Initializer"),ql=new J("Platform ID"),_1=new J("appBootstrapListener");let v1=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const hn=new J("LocaleId",{providedIn:"root",factory:()=>tC(hn,B.Optional|B.SkipSelf)||function y1(){return"undefined"!=typeof $localize&&$localize.locale||Ti}()}),b1=(()=>Promise.resolve(0))();function Wl(e){"undefined"==typeof Zone?b1.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Qe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ve(!1),this.onMicrotaskEmpty=new Ve(!1),this.onStable=new Ve(!1),this.onError=new Ve(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");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 E1(){let e=re.requestAnimationFrame,t=re.cancelAnimationFrame;if("undefined"!=typeof Zone&&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 A1(e){const t=()=>{!function I1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Zl(e),e.isCheckStableRunning=!0,Ql(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Zl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Gg(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),qg(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Gg(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),qg(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Zl(e),Ql(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"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Qe.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Qe.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}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,M1,Hi,Hi);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 M1={};function Ql(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 Zl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Gg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qg(e){e._nesting--,Ql(e)}class T1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ve,this.onMicrotaskEmpty=new Ve,this.onStable=new Ve,this.onError=new Ve}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)}}let Yl=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{Qe.assertNotInAngularZone(),Wl(()=>{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())Wl(()=>{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}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(oe(Qe))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Wg=(()=>{class e{constructor(){this._applications=new Map,Kl.addToWindow(this)}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 Kl.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class S1{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let Mt,Kl=new S1;const Qg=new J("AllowMultipleToken");function Zg(e,t,n=[]){const r=`Platform: ${t}`,o=new J(r);return(i=[])=>{let s=Yg();if(!s||s.injector.get(Qg,!1))if(e)e(n.concat(i).concat({provide:o,useValue:!0}));else{const a=n.concat(i).concat({provide:o,useValue:!0},{provide:sl,useValue:"platform"});!function O1(e){if(Mt&&!Mt.destroyed&&!Mt.injector.get(Qg,!1))throw new Y(400,"");Mt=e.get(Kg);const t=e.get(zg,null);t&&t.forEach(n=>n())}(ct.create({providers:a,name:r}))}return function R1(e){const t=Yg();if(!t)throw new Y(401,"");return t}()}}function Yg(){return Mt&&!Mt.destroyed?Mt:null}let Kg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function P1(e,t){let n;return n="noop"===e?new T1:("zone.js"===e?void 0:e)||new Qe({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),l=[{provide:Qe,useValue:a}];return a.run(()=>{const u=ct.create({providers:l,parent:this.injector,name:n.moduleType.name}),c=n.create(u),d=c.injector.get(Xr,null);if(!d)throw new Y(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:p=>{d.handleError(p)}});c.onDestroy(()=>{Jl(this._modules,c),f.unsubscribe()})}),function V1(e,t,n){try{const r=n();return Mi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(zl);return f.runInitializers(),f.donePromise.then(()=>(function d0(e){Ke(e,"Expected localeId to be defined"),"string"==typeof e&&(Fp=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(hn,Ti)||Ti),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=Jg({},r);return function N1(e,t,n){const r=new Sl(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Xg);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Y(403,"");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 Y(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(oe(ct))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function Jg(e,t){return Array.isArray(t)?t.reduce(Jg,e):Object.assign(Object.assign({},e),t)}let Xg=(()=>{class e{constructor(n,r,o,i,s){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new Le(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),l=new Le(u=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{Qe.assertNotInAngularZone(),Wl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{Qe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=Sv(a,l.pipe(function Nv(e={}){const{connector:t=(()=>new Ds),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,u=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},p=()=>{f(),s=l=null,c=d=!1},m=()=>{const D=s;p(),null==D||D.unsubscribe()};return Ln((D,M)=>{u++,!d&&!c&&f();const I=l=null!=l?l:t();M.add(()=>{u--,0===u&&!d&&!c&&(a=As(m,o))}),I.subscribe(M),s||(s=new _s({next:_=>I.next(_),error:_=>{d=!0,f(),a=As(p,n,_),I.error(_)},complete:()=>{c=!0,f(),a=As(p,r),I.complete()}}),Is(D).subscribe(s))})(i)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new Y(405,"");let o;o=n instanceof rg?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function F1(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Ar),a=o.create(ct.NULL,[],r||o.selector,i),l=a.location.nativeElement,u=a.injector.get(Yl,null),c=u&&a.injector.get(Wg);return u&&c&&c.registerApplication(l,u),a.onDestroy(()=>{this.detachView(a.hostView),Jl(this.components,a),c&&c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Y(101,"");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;Jl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(_1,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(oe(Qe),oe(ct),oe(Xr),oe(Oi),oe(zl))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Jl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let tm=!0,om=(()=>{class e{}return e.__NG_ELEMENT_ID__=B1,e})();function B1(e){return function H1(e,t,n){if(jo(e)&&!n){const r=Xe(e.index,t);return new ho(r,r)}return 47&e.type?new ho(t[16],t):null}(Me(),w(),16==(16&e))}class am{constructor(){}supports(t){return io(t)}create(t){return new q1(t)}}const G1=(e,t)=>t;class q1{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||G1}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<um(r,o,i)?n:r,a=um(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 u=a-o,c=l-o;if(u!=c){for(let f=0;f<u;f++){const p=f<i.length?i[f]:i[f]=0,m=p+f;c<=m&&m<u&&(i[f]=p+1)}i[s.previousIndex]=c-u}}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=[]),!io(t))throw new Y(900,"");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 Ww(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[dr()]();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 W1(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 lm),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 lm),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 W1{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 Q1{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 lm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Q1,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 um(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 cm{constructor(){}supports(t){return t instanceof Map||fl(t)}create(){return new Z1}}class Z1{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||fl(t)))throw new Y(900,"")}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 Y1(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 Y1{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 dm(){return new Ui([new am])}let Ui=(()=>{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||dm()),deps:[[e,new ai,new si]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Y(901,"")}}return e.\u0275prov=de({token:e,providedIn:"root",factory:dm}),e})();function fm(){return new vo([new cm])}let vo=(()=>{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||fm()),deps:[[e,new ai,new si]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Y(901,"")}}return e.\u0275prov=de({token:e,providedIn:"root",factory:fm}),e})();const X1=Zg(null,"core",[{provide:ql,useValue:"unknown"},{provide:Kg,deps:[ct]},{provide:Wg,deps:[]},{provide:v1,deps:[]}]);let eM=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(oe(Xg))},e.\u0275mod=on({type:e}),e.\u0275inj=Gt({}),e})(),zi=null;function On(){return zi}const $t=new J("DocumentToken");let Do=(()=>{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&&(io(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 ${te(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)(A(Ui),A(vo),A(Et),A(Nn))},e.\u0275dir=k({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class GM{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 fu=(()=>{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 GM(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),bm(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=>{bm(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(A(jt),A(Jt),A(Ui))},e.\u0275dir=k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function bm(e,t){e.context.$implicit=t.item}let xr=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new qM,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){Em("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Em("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)(A(jt),A(Jt))},e.\u0275dir=k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class qM{constructor(){this.$implicit=null,this.ngIf=null}}function Em(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}let Am=(()=>{class e{transform(n,r,o){if(null==n)return null;if(!this.supports(n))throw function At(e,t){return new Y(2100,"")}();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=qe({name:"slice",type:e,pure:!1}),e})(),vI=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=on({type:e}),e.\u0275inj=Gt({}),e})();class _u extends class EI extends class rM{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function nM(e){zi||(zi=e)}(new _u)}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 MI(){return wo=wo||document.querySelector("base"),wo?wo.getAttribute("href"):null}();return null==n?null:function II(e){es=es||document.createElement("a"),es.setAttribute("href",e);const t=es.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){wo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function UM(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 es,wo=null;const xm=new J("TRANSITION_ID"),TI=[{provide:$g,useFactory:function AI(e,t,n){return()=>{n.get(zl).donePromise.then(()=>{const r=On(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[xm,$t,ct],multi:!0}];class vu{static init(){!function x1(e){Kl=e}(new vu)}addToWindow(t){re.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},re.getAllAngularTestabilities=()=>t.getAllTestabilities(),re.getAllAngularRootElements=()=>t.getAllRootElements(),re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(r=>{const o=re.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){if(null==n)return null;const o=t.getTestability(n);return null!=o?o:r?On().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let SI=(()=>{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 ts=new J("EventManagerPlugins");let ns=(()=>{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)(oe(ts),oe(Qe))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Nm{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=On().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Fm=(()=>{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})(),bo=(()=>{class e extends Fm{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(Om),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Om))}}return e.\u0275fac=function(n){return new(n||e)(oe($t))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function Om(e){On().remove(e)}const yu={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/"},Cu=/%COMP%/g;function rs(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?rs(e,o,n):(o=o.replace(Cu,e),n.push(o))}return n}function Vm(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Du=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new wu(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case St.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new PI(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case St.ShadowDom:return new VI(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=rs(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)(oe(ns),oe(bo),oe(_o))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class wu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(yu[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&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=yu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=yu[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&(tt.DashCase|tt.Important)?t.style.setProperty(n,r,o&tt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&tt.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,Vm(r)):this.eventManager.addEventListener(t,n,Vm(r))}}class PI extends wu{constructor(t,n,r,o){super(t),this.component=r;const i=rs(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function FI(e){return"_ngcontent-%COMP%".replace(Cu,e)}(o+"-"+r.id),this.hostAttr=function OI(e){return"_nghost-%COMP%".replace(Cu,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 VI extends wu{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=rs(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 kI=(()=>{class e extends Nm{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)(oe($t))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Lm=["alt","control","meta","shift"],BI={"\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"},Bm={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},HI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let jI=(()=>{class e extends Nm{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(()=>On().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="";if(Lm.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function $I(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Bm.hasOwnProperty(t)&&(t=Bm[t]))}return BI[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Lm.forEach(i=>{i!=o&&HI[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(oe($t))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const qI=Zg(X1,"browser",[{provide:ql,useValue:"browser"},{provide:zg,useValue:function UI(){_u.makeCurrent(),vu.init()},multi:!0},{provide:$t,useFactory:function GI(){return function ay(e){Us=e}(document),document},deps:[]}]),WI=[{provide:sl,useValue:"root"},{provide:Xr,useFactory:function zI(){return new Xr},deps:[]},{provide:ts,useClass:kI,multi:!0,deps:[$t,Qe,ql]},{provide:ts,useClass:jI,multi:!0,deps:[$t]},{provide:Du,useClass:Du,deps:[ns,bo,_o]},{provide:ig,useExisting:Du},{provide:Fm,useExisting:bo},{provide:bo,useClass:bo,deps:[$t]},{provide:Yl,useClass:Yl,deps:[Qe]},{provide:ns,useClass:ns,deps:[ts,Qe]},{provide:class bI{},useClass:SI,deps:[]}];let QI=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:_o,useValue:n.appId},{provide:xm,useExisting:_o},TI]}}}return e.\u0275fac=function(n){return new(n||e)(oe(e,12))},e.\u0275mod=on({type:e}),e.\u0275inj=Gt({providers:WI,imports:[vI,eM]}),e})();"undefined"!=typeof window&&window;const{isArray:iA}=Array,{getPrototypeOf:sA,prototype:aA,keys:lA}=Object;const{isArray:dA}=Array;function pA(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function gA(...e){const t=function Cv(e){return pe(Ms(e))?e.pop():void 0}(e),{args:n,keys:r}=function uA(e){if(1===e.length){const t=e[0];if(iA(t))return{args:t,keys:null};if(function cA(e){return e&&"object"==typeof e&&sA(e)===aA}(t)){const n=lA(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new Le(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c<s;c++){let d=!1;wn(n[c]).subscribe(new Bn(i,f=>{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?pA(r,a):a),i.complete())}))}});return t?o.pipe(function hA(e){return ws(t=>function fA(e,t){return dA(t)?e(...t):e(t)}(e,t))}(t)):o}let $m=(()=>{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)(A(Nn),A(Et))},e.\u0275dir=k({type:e}),e})(),Rn=(()=>{class e extends $m{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Oe(e)))(r||e)}}(),e.\u0275dir=k({type:e,features:[ne]}),e})();const Ut=new J("NgValueAccessor"),_A={provide:Ut,useExisting:ae(()=>Eo),multi:!0},yA=new J("CompositionEventMode");let Eo=(()=>{class e extends $m{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function vA(){const e=On()?On().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":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)(A(Nn),A(Et),A(yA,8))},e.\u0275dir=k({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&&z("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:[he([_A]),ne]}),e})();const ke=new J("NgValidators"),mn=new J("NgAsyncValidators");function Xm(e){return null!=e}function e_(e){const t=Mi(e)?Is(e):e;return Bh(t),t}function t_(e){let t={};return e.forEach(n=>{t=null!=n?Object.assign(Object.assign({},t),n):t}),0===Object.keys(t).length?null:t}function n_(e,t){return t.map(n=>n(e))}function r_(e){return e.map(t=>function DA(e){return!e.validate}(t)?t:n=>t.validate(n))}function Eu(e){return null!=e?function o_(e){if(!e)return null;const t=e.filter(Xm);return 0==t.length?null:function(n){return t_(n_(n,t))}}(r_(e)):null}function Mu(e){return null!=e?function i_(e){if(!e)return null;const t=e.filter(Xm);return 0==t.length?null:function(n){return gA(n_(n,t).map(e_)).pipe(ws(t_))}}(r_(e)):null}function s_(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Iu(e){return e?Array.isArray(e)?e:[e]:[]}function is(e,t){return Array.isArray(e)?e.includes(t):e===t}function u_(e,t){const n=Iu(t);return Iu(e).forEach(o=>{is(n,o)||n.push(o)}),n}function c_(e,t){return Iu(t).filter(n=>!is(e,n))}class d_{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=Mu(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 _n extends d_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ge extends d_{get formDirective(){return null}get path(){return null}}let Au=(()=>{class e extends class f_{constructor(t){this._cd=t}is(t){var n,r,o;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(o=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===o?void 0:o[t])}}{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(A(_n,2))},e.\u0275dir=k({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ii("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[ne]}),e})();function Mo(e,t){(function xu(e,t){const n=function a_(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(s_(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function l_(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(s_(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();us(t._rawValidators,o),us(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),function xA(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&p_(e,t)})}(e,t),function FA(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 NA(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&p_(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function SA(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function us(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function p_(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ou(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Io="VALID",ds="INVALID",Nr="PENDING",Ao="DISABLED";function Pu(e){return(fs(e)?e.validators:e)||null}function v_(e){return Array.isArray(e)?Eu(e):e||null}function Vu(e,t){return(fs(t)?t.asyncValidators:e)||null}function y_(e){return Array.isArray(e)?Mu(e):e||null}function fs(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}const ku=e=>e instanceof Bu;function D_(e){return(e=>e instanceof E_)(e)?e.value:e.getRawValue()}function w_(e,t){const n=ku(e),r=e.controls;if(!(n?Object.keys(r):r).length)throw new Y(1e3,"");if(!r[t])throw new Y(1001,"")}function b_(e,t){ku(e),e._forEachChild((r,o)=>{if(void 0===t[o])throw new Y(1002,"")})}class Lu{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._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=v_(this._rawValidators),this._composedAsyncValidatorFn=y_(this._rawAsyncValidators)}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===Io}get invalid(){return this.status===ds}get pending(){return this.status==Nr}get disabled(){return this.status===Ao}get enabled(){return this.status!==Ao}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._rawValidators=t,this._composedValidatorFn=v_(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=y_(t)}addValidators(t){this.setValidators(u_(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(u_(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(c_(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(c_(t,this._rawAsyncValidators))}hasValidator(t){return is(this._rawValidators,t)}hasAsyncValidator(t){return is(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=Nr,!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=Ao,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Io,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},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}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Io||this.status===Nr)&&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()?Ao:Io}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Nr,this._hasOwnPendingAsyncValidator=!0;const n=e_(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){return function VA(e,t,n){if(null==t||(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length))return null;let r=e;return t.forEach(o=>{r=ku(r)?r.controls.hasOwnProperty(o)?r.controls[o]:null:(e=>e instanceof LA)(r)&&r.at(o)||null}),r}(this,t,".")}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 Ve,this.statusChanges=new Ve}_calculateStatus(){return this._allControlsDisabled()?Ao:this.errors?ds:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Nr)?Nr:this._anyControlsHaveStatus(ds)?ds:Io}_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)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){fs(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class E_ extends Lu{constructor(t=null,n,r){super(Pu(n),Vu(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}),fs(n)&&n.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(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){Ou(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ou(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){this._isBoxedValue(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}}class Bu extends Lu{constructor(t,n,r){super(Pu(n),Vu(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){b_(this,t),Object.keys(t).forEach(r=>{w_(this,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=D_(n),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const n of Object.keys(this.controls)){const r=this.controls[n];if(this.contains(n)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class LA extends Lu{constructor(t,n,r){super(Pu(n),Vu(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){b_(this,t),t.forEach((r,o)=>{w_(this,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>D_(t))}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const jA={provide:_n,useExisting:ae(()=>hs)},A_=(()=>Promise.resolve(null))();let hs=(()=>{class e extends _n{constructor(n,r,o,i,s){super(),this._changeDetectorRef=s,this.control=new E_,this._registered=!1,this.update=new Ve,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Fu(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Eo?n=i:function PA(e){return Object.getPrototypeOf(e.constructor)===Rn}(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 Nu(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(){Mo(this.control,this),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){A_.then(()=>{var r;this.control.setValue(n,{emitViewToModelChange:!1}),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=""===r||r&&"false"!==r;A_.then(()=>{var i;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_getPath(n){return this._parent?function as(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(A(Ge,9),A(ke,10),A(mn,10),A(Ut,10),A(om,8))},e.\u0275dir=k({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:[he([jA]),ne,Wt]}),e})(),S_=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=on({type:e}),e.\u0275inj=Gt({}),e})();const qA={provide:Ut,useExisting:ae(()=>ju),multi:!0};let ju=(()=>{class e extends Rn{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=Oe(e)))(r||e)}}(),e.\u0275dir=k({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(n,r){1&n&&z("change",function(i){return r.onChange(i.target.value)})("input",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},features:[he([qA]),ne]}),e})();const JA={provide:Ut,useExisting:ae(()=>So),multi:!0};function P_(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let So=(()=>{class e extends Rn{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=P_(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 XA(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=Oe(e)))(r||e)}}(),e.\u0275dir=k({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,r){1&n&&z("change",function(i){return r.onChange(i.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[he([JA]),ne]}),e})(),Gu=(()=>{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(P_(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)(A(Et),A(Nn),A(So,9))},e.\u0275dir=k({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const eT={provide:Ut,useExisting:ae(()=>qu),multi:!0};function V_(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let qu=(()=>{class e extends Rn{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 u=this._getOptionValue(s[a].value);o.push(u)}}else{const s=r.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const u=this._getOptionValue(l.value);o.push(u)}}}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=Oe(e)))(r||e)}}(),e.\u0275dir=k({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,r){1&n&&z("change",function(i){return r.onChange(i.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[he([eT]),ne]}),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(V_(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(V_(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)(A(Et),A(Nn),A(qu,9))},e.\u0275dir=k({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),dT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=on({type:e}),e.\u0275inj=Gt({imports:[[S_]]}),e})(),fT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=on({type:e}),e.\u0275inj=Gt({imports:[dT]}),e})();class q_{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class hT{constructor(){this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class pT{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 Vn{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 W_{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:Vn.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:Vn.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:Vn.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 Zu extends W_{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 pT(r))})}get coverage(){return 0===this.coverableLines?"-"!==this.coverageByMethod?parseFloat(this.coverageByMethod):NaN:Vn.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 vn extends W_{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=Vn.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 vn(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){vn.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)}}let Yu=(()=>{class e{get nativeWindow(){return function gT(){return window}()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function mT(e,t){1&e&&F(0,"td",3)}function _T(e,t){1&e&&F(0,"td"),2&e&&Ht("green ",C().greenClass,"")}function vT(e,t){1&e&&F(0,"td"),2&e&&Ht("red ",C().redClass,"")}let Q_=(()=>{class e{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(n){this._percentage=n,this.grayVisible=isNaN(n),this.greenVisible=!isNaN(n)&&Math.round(n)>0,this.redVisible=!isNaN(n)&&100-Math.round(n)>0,this.greenClass="covered"+Math.round(n),this.redClass="covered"+(100-Math.round(n))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=rn({type:e,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&&(y(0,"table",0),E(1,mT,1,0,"td",1),E(2,_T,1,3,"td",2),E(3,vT,1,3,"td",2),v()),2&n&&(h(1),g("ngIf",r.grayVisible),h(1),g("ngIf",r.greenVisible),h(1),g("ngIf",r.redVisible))},directives:[xr],encapsulation:2,changeDetection:0}),e})();const yT=["codeelement-row",""];function CT(e,t){if(1&e&&(y(0,"th",2),b(1),v()),2&e){const n=C();h(1),x(n.element.coveredBranches)}}function DT(e,t){if(1&e&&(y(0,"th",2),b(1),v()),2&e){const n=C();h(1),x(n.element.totalBranches)}}function wT(e,t){if(1&e&&(y(0,"th",3),b(1),v()),2&e){const n=C();g("title",n.element.branchCoverageRatioText),h(1),x(n.element.branchCoveragePercentage)}}function bT(e,t){if(1&e&&(y(0,"th",2),F(1,"coverage-bar",4),v()),2&e){const n=C();h(1),g("percentage",n.element.branchCoverage)}}function ET(e,t){if(1&e&&(y(0,"th",2),b(1),v()),2&e){const n=C();h(1),x(n.element.coveredMethods)}}function MT(e,t){if(1&e&&(y(0,"th",2),b(1),v()),2&e){const n=C();h(1),x(n.element.totalMethods)}}function IT(e,t){if(1&e&&(y(0,"th",3),b(1),v()),2&e){const n=C();g("title",n.element.methodCoverageRatioText),h(1),x(n.element.methodCoveragePercentage)}}function AT(e,t){if(1&e&&(y(0,"th",2),F(1,"coverage-bar",4),v()),2&e){const n=C();h(1),g("percentage",n.element.methodCoverage)}}const TT=function(e,t){return{"icon-plus":e,"icon-minus":t}};let ST=(()=>{class e{constructor(){this.collapsed=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=rn({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable"},attrs:yT,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&&(y(0,"th")(1,"a",0),z("click",function(i){return r.element.toggleCollapse(i)}),F(2,"i",1),b(3),v()(),y(4,"th",2),b(5),v(),y(6,"th",2),b(7),v(),y(8,"th",2),b(9),v(),y(10,"th",2),b(11),v(),y(12,"th",3),b(13),v(),y(14,"th",2),F(15,"coverage-bar",4),v(),E(16,CT,2,1,"th",5),E(17,DT,2,1,"th",5),E(18,wT,2,2,"th",6),E(19,bT,2,1,"th",5),E(20,ET,2,1,"th",5),E(21,MT,2,1,"th",5),E(22,IT,2,2,"th",6),E(23,AT,2,1,"th",5)),2&n&&(h(2),g("ngClass",xl(17,TT,r.element.collapsed,!r.element.collapsed)),h(1),q(" ",r.element.name,""),h(2),x(r.element.coveredLines),h(2),x(r.element.uncoveredLines),h(2),x(r.element.coverableLines),h(2),x(r.element.totalLines),h(1),g("title",r.element.coverageRatioText),h(1),x(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))},directives:[Do,Q_,xr],encapsulation:2,changeDetection:0}),e})();const xT=["coverage-history-chart",""];let NT=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(n){if(this._historicCoverages=n,n.length>1){let r="";for(let o=0;o<n.length;o++)r+=0===o?"M":"L",r+=`${Vn.roundNumber(30*o/(n.length-1),1)}`,r+=`,${Vn.roundNumber(18-18*n[o]/100,1)}`;this.path=r}else this.path=null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=rn({type:e,selectors:[["","coverage-history-chart",""]],inputs:{historicCoverages:"historicCoverages"},attrs:xT,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 sd(){P.lFrame.currentNamespace="svg"}(),y(0,"svg",0)(1,"g",1),F(2,"path",2),v()()),2&n&&(h(2),kt("d",r.path))},encapsulation:2,changeDetection:0}),e})();const FT=["class-row",""];function OT(e,t){if(1&e&&(y(0,"a",8),b(1),v()),2&e){const n=C();g("href",n.clazz.reportPath,rr),h(1),x(n.clazz.name)}}function RT(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C();h(1),x(n.clazz.name)}}function PT(e,t){if(1&e&&(Q(0),y(1,"div"),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C();h(1),Ht("currenthistory ",n.getClassName(n.clazz.coveredLines,n.clazz.currentHistoricCoverage.cl),""),h(1),q(" ",n.clazz.coveredLines," "),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),q(" ",n.clazz.currentHistoricCoverage.cl," ")}}function VT(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C();h(1),q(" ",n.clazz.coveredLines," ")}}function kT(e,t){if(1&e&&(Q(0),y(1,"div"),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C();h(1),Ht("currenthistory ",n.getClassName(n.clazz.currentHistoricCoverage.ucl,n.clazz.uncoveredLines),""),h(1),q(" ",n.clazz.uncoveredLines," "),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),q(" ",n.clazz.currentHistoricCoverage.ucl," ")}}function LT(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C();h(1),q(" ",n.clazz.uncoveredLines," ")}}function BT(e,t){if(1&e&&(Q(0),y(1,"div",10),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C();h(2),x(n.clazz.coverableLines),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),x(n.clazz.currentHistoricCoverage.cal)}}function HT(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C();h(1),q(" ",n.clazz.coverableLines," ")}}function jT(e,t){if(1&e&&(Q(0),y(1,"div",10),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C();h(2),x(n.clazz.totalLines),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),x(n.clazz.currentHistoricCoverage.tl)}}function $T(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C();h(1),q(" ",n.clazz.totalLines," ")}}const Ku=function(e){return{historiccoverageoffset:e}};function UT(e,t){if(1&e&&F(0,"div",11),2&e){const n=C();wr("title",n.translations.history+": "+n.translations.coverage),g("historicCoverages",n.clazz.lineCoverageHistory)("ngClass",Vi(3,Ku,null!==n.clazz.currentHistoricCoverage))}}function zT(e,t){if(1&e&&(Q(0),y(1,"div"),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C();h(1),Ht("currenthistory ",n.getClassName(n.clazz.coverage,n.clazz.currentHistoricCoverage.lcq),""),h(1),q(" ",n.clazz.coveragePercentage," "),h(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.coverageRatioText),h(1),q("",n.clazz.currentHistoricCoverage.lcq,"%")}}function GT(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C();h(1),q(" ",n.clazz.coveragePercentage," ")}}function qT(e,t){if(1&e&&(Q(0),y(1,"div"),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C(2);h(1),Ht("currenthistory ",n.getClassName(n.clazz.coveredBranches,n.clazz.currentHistoricCoverage.cb),""),h(1),q(" ",n.clazz.coveredBranches," "),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),q(" ",n.clazz.currentHistoricCoverage.cb," ")}}function WT(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C(2);h(1),q(" ",n.clazz.coveredBranches," ")}}function QT(e,t){if(1&e&&(y(0,"td",2),E(1,qT,5,6,"ng-container",1),E(2,WT,2,1,"ng-container",1),v()),2&e){const n=C();h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function ZT(e,t){if(1&e&&(Q(0),y(1,"div",10),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C(2);h(2),x(n.clazz.totalBranches),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),x(n.clazz.currentHistoricCoverage.tb)}}function YT(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C(2);h(1),q(" ",n.clazz.totalBranches," ")}}function KT(e,t){if(1&e&&(y(0,"td",2),E(1,ZT,5,3,"ng-container",1),E(2,YT,2,1,"ng-container",1),v()),2&e){const n=C();h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function JT(e,t){if(1&e&&F(0,"div",13),2&e){const n=C(2);wr("title",n.translations.history+": "+n.translations.branchCoverage),g("historicCoverages",n.clazz.branchCoverageHistory)("ngClass",Vi(3,Ku,null!==n.clazz.currentHistoricCoverage))}}function XT(e,t){if(1&e&&(Q(0),y(1,"div"),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C(2);h(1),Ht("currenthistory ",n.getClassName(n.clazz.branchCoverage,n.clazz.currentHistoricCoverage.bcq),""),h(1),q(" ",n.clazz.branchCoveragePercentage," "),h(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.branchCoverageRatioText),h(1),q("",n.clazz.currentHistoricCoverage.bcq,"%")}}function eS(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C(2);h(1),q(" ",n.clazz.branchCoveragePercentage," ")}}function tS(e,t){if(1&e&&(y(0,"td",3),E(1,JT,1,5,"div",12),E(2,XT,5,6,"ng-container",1),E(3,eS,2,1,"ng-container",1),v()),2&e){const n=C();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 nS(e,t){if(1&e&&(y(0,"td",2),F(1,"coverage-bar",5),v()),2&e){const n=C();h(1),g("percentage",n.clazz.branchCoverage)}}function rS(e,t){if(1&e&&(Q(0),y(1,"div"),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C(2);h(1),Ht("currenthistory ",n.getClassName(n.clazz.coveredMethods,n.clazz.currentHistoricCoverage.cm),""),h(1),q(" ",n.clazz.coveredMethods," "),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),q(" ",n.clazz.currentHistoricCoverage.cm," ")}}function oS(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C(2);h(1),q(" ",n.clazz.coveredMethods," ")}}function iS(e,t){if(1&e&&(y(0,"td",2),E(1,rS,5,6,"ng-container",1),E(2,oS,2,1,"ng-container",1),v()),2&e){const n=C();h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function sS(e,t){if(1&e&&(Q(0),y(1,"div",10),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C(2);h(2),x(n.clazz.totalMethods),h(1),g("title",n.clazz.currentHistoricCoverage.et),h(1),x(n.clazz.currentHistoricCoverage.tm)}}function aS(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C(2);h(1),q(" ",n.clazz.totalMethods," ")}}function lS(e,t){if(1&e&&(y(0,"td",2),E(1,sS,5,3,"ng-container",1),E(2,aS,2,1,"ng-container",1),v()),2&e){const n=C();h(1),g("ngIf",null!==n.clazz.currentHistoricCoverage),h(1),g("ngIf",null===n.clazz.currentHistoricCoverage)}}function uS(e,t){if(1&e&&F(0,"div",15),2&e){const n=C(2);wr("title",n.translations.history+": "+n.translations.methodCoverage),g("historicCoverages",n.clazz.methodCoverageHistory)("ngClass",Vi(3,Ku,null!==n.clazz.currentHistoricCoverage))}}function cS(e,t){if(1&e&&(Q(0),y(1,"div"),b(2),v(),y(3,"div",9),b(4),v(),Z()),2&e){const n=C(2);h(1),Ht("currenthistory ",n.getClassName(n.clazz.methodCoverage,n.clazz.currentHistoricCoverage.mcq),""),h(1),q(" ",n.clazz.methodCoveragePercentage," "),h(1),g("title",n.clazz.currentHistoricCoverage.et+": "+n.clazz.currentHistoricCoverage.methodCoverageRatioText),h(1),q("",n.clazz.currentHistoricCoverage.mcq,"%")}}function dS(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C(2);h(1),q(" ",n.clazz.methodCoveragePercentage," ")}}function fS(e,t){if(1&e&&(y(0,"td",3),E(1,uS,1,5,"div",14),E(2,cS,5,6,"ng-container",1),E(3,dS,2,1,"ng-container",1),v()),2&e){const n=C();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 hS(e,t){if(1&e&&(y(0,"td",2),F(1,"coverage-bar",5),v()),2&e){const n=C();h(1),g("percentage",n.clazz.methodCoverage)}}let pS=(()=>{class e{constructor(){this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.historyComparisionDate=""}getClassName(n,r){return n>r?"lightgreen":n<r?"lightred":"lightgraybg"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=rn({type:e,selectors:[["","class-row",""]],inputs:{clazz:"clazz",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",historyComparisionDate:"historyComparisionDate"},attrs:FT,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&&(y(0,"td"),E(1,OT,2,2,"a",0),E(2,RT,2,1,"ng-container",1),v(),y(3,"td",2),E(4,PT,5,6,"ng-container",1),E(5,VT,2,1,"ng-container",1),v(),y(6,"td",2),E(7,kT,5,6,"ng-container",1),E(8,LT,2,1,"ng-container",1),v(),y(9,"td",2),E(10,BT,5,3,"ng-container",1),E(11,HT,2,1,"ng-container",1),v(),y(12,"td",2),E(13,jT,5,3,"ng-container",1),E(14,$T,2,1,"ng-container",1),v(),y(15,"td",3),E(16,UT,1,5,"div",4),E(17,zT,5,6,"ng-container",1),E(18,GT,2,1,"ng-container",1),v(),y(19,"td",2),F(20,"coverage-bar",5),v(),E(21,QT,3,2,"td",6),E(22,KT,3,2,"td",6),E(23,tS,4,4,"td",7),E(24,nS,2,1,"td",6),E(25,iS,3,2,"td",6),E(26,lS,3,2,"td",6),E(27,fS,4,4,"td",7),E(28,hS,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))},directives:[xr,NT,Do,Q_],encapsulation:2,changeDetection:0}),e})();function gS(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C(2);h(1),x(n.translations.noGrouping)}}function mS(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C(2);h(1),x(n.translations.byAssembly)}}function _S(e,t){if(1&e&&(Q(0),b(1),Z()),2&e){const n=C(2);h(1),x(n.translations.byNamespace+" "+n.settings.grouping)}}function vS(e,t){if(1&e&&(y(0,"option",31),b(1),v()),2&e){const n=t.$implicit;g("value",n),h(1),x(n)}}function yS(e,t){1&e&&F(0,"br")}function CS(e,t){if(1&e&&(y(0,"option",39),b(1),v()),2&e){const n=C(4);h(1),q(" ",n.translations.branchCoverageIncreaseOnly," ")}}function DS(e,t){if(1&e&&(y(0,"option",40),b(1),v()),2&e){const n=C(4);h(1),q(" ",n.translations.branchCoverageDecreaseOnly," ")}}function wS(e,t){if(1&e&&(y(0,"option",41),b(1),v()),2&e){const n=C(4);h(1),q(" ",n.translations.methodCoverageIncreaseOnly," ")}}function bS(e,t){if(1&e&&(y(0,"option",42),b(1),v()),2&e){const n=C(4);h(1),q(" ",n.translations.methodCoverageDecreaseOnly," ")}}function ES(e,t){if(1&e){const n=rt();y(0,"div")(1,"select",28),z("ngModelChange",function(o){return ee(n),C(3).settings.historyComparisionType=o}),y(2,"option",29),b(3),v(),y(4,"option",32),b(5),v(),y(6,"option",33),b(7),v(),y(8,"option",34),b(9),v(),E(10,CS,2,1,"option",35),E(11,DS,2,1,"option",36),E(12,wS,2,1,"option",37),E(13,bS,2,1,"option",38),v()()}if(2&e){const n=C(3);h(1),g("ngModel",n.settings.historyComparisionType),h(2),x(n.translations.filter),h(2),x(n.translations.allChanges),h(2),x(n.translations.lineCoverageIncreaseOnly),h(2),x(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 MS(e,t){if(1&e){const n=rt();Q(0),y(1,"div"),b(2),y(3,"select",28),z("ngModelChange",function(o){return ee(n),C(2).settings.historyComparisionDate=o})("ngModelChange",function(){return ee(n),C(2).updateCurrentHistoricCoverage()}),y(4,"option",29),b(5),v(),E(6,vS,2,2,"option",30),v()(),E(7,yS,1,0,"br",0),E(8,ES,14,9,"div",0),Z()}if(2&e){const n=C(2);h(2),q(" ",n.translations.compareHistory," "),h(1),g("ngModel",n.settings.historyComparisionDate),h(2),x(n.translations.date),h(1),g("ngForOf",n.historicCoverageExecutionTimes),h(1),g("ngIf",""!==n.settings.historyComparisionDate),h(1),g("ngIf",""!==n.settings.historyComparisionDate)}}function IS(e,t){1&e&&F(0,"col",10)}function AS(e,t){1&e&&F(0,"col",13)}function TS(e,t){1&e&&F(0,"col",14)}function SS(e,t){1&e&&F(0,"col",15)}function xS(e,t){1&e&&F(0,"col",10)}function NS(e,t){1&e&&F(0,"col",13)}function FS(e,t){1&e&&F(0,"col",14)}function OS(e,t){1&e&&F(0,"col",15)}function RS(e,t){if(1&e&&(y(0,"th",43),b(1),v()),2&e){const n=C(2);h(1),x(n.translations.branchCoverage)}}function PS(e,t){if(1&e&&(y(0,"th",43),b(1),v()),2&e){const n=C(2);h(1),x(n.translations.methodCoverage)}}const pt=function(e,t,n){return{"icon-up-dir_active":e,"icon-down-dir_active":t,"icon-down-dir":n}};function VS(e,t){if(1&e){const n=rt();y(0,"th",5)(1,"a",2),z("click",function(o){return ee(n),C(2).updateSorting("covered_branches",o)}),F(2,"i",23),b(3),v()()}if(2&e){const n=C(2);h(2),g("ngClass",xe(2,pt,"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),x(n.translations.covered)}}function kS(e,t){if(1&e){const n=rt();y(0,"th",5)(1,"a",2),z("click",function(o){return ee(n),C(2).updateSorting("total_branches",o)}),F(2,"i",23),b(3),v()()}if(2&e){const n=C(2);h(2),g("ngClass",xe(2,pt,"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),x(n.translations.total)}}function LS(e,t){if(1&e){const n=rt();y(0,"th",24)(1,"a",2),z("click",function(o){return ee(n),C(2).updateSorting("branchcoverage",o)}),F(2,"i",23),b(3),v()()}if(2&e){const n=C(2);h(2),g("ngClass",xe(2,pt,"branchcoverage"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"branchcoverage"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"branchcoverage"!==n.settings.sortBy)),h(1),x(n.translations.percentage)}}function BS(e,t){if(1&e){const n=rt();y(0,"th",5)(1,"a",2),z("click",function(o){return ee(n),C(2).updateSorting("covered_methods",o)}),F(2,"i",23),b(3),v()()}if(2&e){const n=C(2);h(2),g("ngClass",xe(2,pt,"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),x(n.translations.covered)}}function HS(e,t){if(1&e){const n=rt();y(0,"th",5)(1,"a",2),z("click",function(o){return ee(n),C(2).updateSorting("total_methods",o)}),F(2,"i",23),b(3),v()()}if(2&e){const n=C(2);h(2),g("ngClass",xe(2,pt,"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),x(n.translations.total)}}function jS(e,t){if(1&e){const n=rt();y(0,"th",24)(1,"a",2),z("click",function(o){return ee(n),C(2).updateSorting("methodcoverage",o)}),F(2,"i",23),b(3),v()()}if(2&e){const n=C(2);h(2),g("ngClass",xe(2,pt,"methodcoverage"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"methodcoverage"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"methodcoverage"!==n.settings.sortBy)),h(1),x(n.translations.percentage)}}function $S(e,t){if(1&e&&F(0,"tr",45),2&e){const n=C().$implicit,r=C(2);g("element",n)("collapsed",n.collapsed)("branchCoverageAvailable",r.branchCoverageAvailable)("methodCoverageAvailable",r.methodCoverageAvailable)}}function US(e,t){if(1&e&&F(0,"tr",47),2&e){const n=C().$implicit,r=C(3);g("clazz",n)("translations",r.translations)("branchCoverageAvailable",r.branchCoverageAvailable)("methodCoverageAvailable",r.methodCoverageAvailable)("historyComparisionDate",r.settings.historyComparisionDate)}}function zS(e,t){if(1&e&&(Q(0),E(1,US,1,5,"tr",46),Z()),2&e){const n=t.$implicit,r=C().$implicit,o=C(2);h(1),g("ngIf",!r.collapsed&&n.visible(o.settings.filter,o.settings.historyComparisionType))}}function GS(e,t){if(1&e&&F(0,"tr",50),2&e){const n=C().$implicit,r=C(5);g("clazz",n)("translations",r.translations)("branchCoverageAvailable",r.branchCoverageAvailable)("methodCoverageAvailable",r.methodCoverageAvailable)("historyComparisionDate",r.settings.historyComparisionDate)}}function qS(e,t){if(1&e&&(Q(0),E(1,GS,1,5,"tr",49),Z()),2&e){const n=t.$implicit,r=C(2).$implicit,o=C(3);h(1),g("ngIf",!r.collapsed&&n.visible(o.settings.filter,o.settings.historyComparisionType))}}function WS(e,t){if(1&e&&(Q(0),F(1,"tr",48),E(2,qS,2,1,"ng-container",27),Z()),2&e){const n=C().$implicit,r=C(3);h(1),g("element",n)("collapsed",n.collapsed)("branchCoverageAvailable",r.branchCoverageAvailable)("methodCoverageAvailable",r.methodCoverageAvailable),h(1),g("ngForOf",n.classes)}}function QS(e,t){if(1&e&&(Q(0),E(1,WS,3,5,"ng-container",0),Z()),2&e){const n=t.$implicit,r=C().$implicit,o=C(2);h(1),g("ngIf",!r.collapsed&&n.visible(o.settings.filter,o.settings.historyComparisionType))}}function ZS(e,t){if(1&e&&(Q(0),E(1,$S,1,4,"tr",44),E(2,zS,2,1,"ng-container",27),E(3,QS,2,1,"ng-container",27),Z()),2&e){const n=t.$implicit,r=C(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 YS(e,t){if(1&e){const n=rt();y(0,"div")(1,"div",1)(2,"div")(3,"a",2),z("click",function(o){return ee(n),C().collapseAll(o)}),b(4),v(),b(5," | "),y(6,"a",2),z("click",function(o){return ee(n),C().expandAll(o)}),b(7),v()(),y(8,"div",3),E(9,gS,2,1,"ng-container",0),E(10,mS,2,1,"ng-container",0),E(11,_S,2,1,"ng-container",0),F(12,"br"),b(13),y(14,"input",4),z("ngModelChange",function(o){return ee(n),C().settings.grouping=o})("ngModelChange",function(){return ee(n),C().updateCoverageInfo()}),v()(),y(15,"div",3),E(16,MS,9,6,"ng-container",0),v(),y(17,"div",5)(18,"span"),b(19),v(),y(20,"input",6),z("ngModelChange",function(o){return ee(n),C().settings.filter=o}),v()()(),y(21,"div",7)(22,"table",8)(23,"colgroup"),F(24,"col",9)(25,"col",10)(26,"col",11)(27,"col",12)(28,"col",13)(29,"col",14)(30,"col",15),E(31,IS,1,0,"col",16),E(32,AS,1,0,"col",17),E(33,TS,1,0,"col",18),E(34,SS,1,0,"col",19),E(35,xS,1,0,"col",16),E(36,NS,1,0,"col",17),E(37,FS,1,0,"col",18),E(38,OS,1,0,"col",19),v(),y(39,"thead")(40,"tr",20),F(41,"th"),y(42,"th",21),b(43),v(),E(44,RS,2,1,"th",22),E(45,PS,2,1,"th",22),v(),y(46,"tr")(47,"th")(48,"a",2),z("click",function(o){return ee(n),C().updateSorting("name",o)}),F(49,"i",23),b(50),v()(),y(51,"th",5)(52,"a",2),z("click",function(o){return ee(n),C().updateSorting("covered",o)}),F(53,"i",23),b(54),v()(),y(55,"th",5)(56,"a",2),z("click",function(o){return ee(n),C().updateSorting("uncovered",o)}),F(57,"i",23),b(58),v()(),y(59,"th",5)(60,"a",2),z("click",function(o){return ee(n),C().updateSorting("coverable",o)}),F(61,"i",23),b(62),v()(),y(63,"th",5)(64,"a",2),z("click",function(o){return ee(n),C().updateSorting("total",o)}),F(65,"i",23),b(66),v()(),y(67,"th",24)(68,"a",2),z("click",function(o){return ee(n),C().updateSorting("coverage",o)}),F(69,"i",23),b(70),v()(),E(71,VS,4,6,"th",25),E(72,kS,4,6,"th",25),E(73,LS,4,6,"th",26),E(74,BS,4,6,"th",25),E(75,HS,4,6,"th",25),E(76,jS,4,6,"th",26),v()(),y(77,"tbody"),E(78,ZS,4,3,"ng-container",27),v()()()()}if(2&e){const n=C();h(4),x(n.translations.collapseAll),h(3),x(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),q(" ",n.translations.grouping," "),h(1),g("max",n.settings.groupingMaximum)("ngModel",n.settings.grouping),h(2),g("ngIf",n.historicCoverageExecutionTimes.length>0),h(3),q("",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),x(n.translations.coverage),h(1),g("ngIf",n.branchCoverageAvailable),h(1),g("ngIf",n.methodCoverageAvailable),h(4),g("ngClass",xe(41,pt,"name"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"name"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"name"!==n.settings.sortBy)),h(1),x(n.translations.name),h(3),g("ngClass",xe(45,pt,"covered"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"covered"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"covered"!==n.settings.sortBy)),h(1),x(n.translations.covered),h(3),g("ngClass",xe(49,pt,"uncovered"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"uncovered"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"uncovered"!==n.settings.sortBy)),h(1),x(n.translations.uncovered),h(3),g("ngClass",xe(53,pt,"coverable"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"coverable"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"coverable"!==n.settings.sortBy)),h(1),x(n.translations.coverable),h(3),g("ngClass",xe(57,pt,"total"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"total"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"total"!==n.settings.sortBy)),h(1),x(n.translations.total),h(3),g("ngClass",xe(61,pt,"coverage"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"coverage"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"coverage"!==n.settings.sortBy)),h(1),x(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)}}let KS=(()=>{class e{constructor(n){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.codeElements=[],this.translations={},this.settings=new hT,this.window=n.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.translations=this.window.translations;let n=!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),n=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let o=0,i=this.window.assemblies;for(let s=0;s<i.length;s++)for(let a=0;a<i[s].classes.length;a++)o=Math.max(o,(i[s].classes[a].name.match(/\./g)||[]).length);this.settings.groupingMaximum=o,console.log("Grouping maximum: "+o)}const r=window.location.href.indexOf("?");r>-1&&(this.queryString=window.location.href.substr(r)),this.updateCoverageInfo(),n&&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 n=new q_;null!==window.history.state&&(n=JSON.parse(JSON.stringify(this.window.history.state))),n.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(n,"")}}updateCoverageInfo(){let n=(new Date).getTime(),r=this.window.assemblies,o=[],i=0;if(0===this.settings.grouping)for(let l=0;l<r.length;l++){let u=new vn(r[l].name,null);o.push(u);for(let c=0;c<r[l].classes.length;c++)u.insertClass(new Zu(r[l].classes[c],this.queryString),null),i++}else if(-1===this.settings.grouping){let l=new vn(this.translations.all,null);o.push(l);for(let u=0;u<r.length;u++)for(let c=0;c<r[u].classes.length;c++)l.insertClass(new Zu(r[u].classes[c],this.queryString),null),i++}else for(let l=0;l<r.length;l++){let u=new vn(r[l].name,null);o.push(u);for(let c=0;c<r[l].classes.length;c++)u.insertClass(new Zu(r[l].classes[c],this.queryString),this.settings.grouping),i++}let s=-1,a=1;"name"===this.settings.sortBy&&(s="asc"===this.settings.sortOrder?-1:1,a="asc"===this.settings.sortOrder?1:-1),o.sort(function(l,u){return l.name===u.name?0:l.name<u.name?s:a}),vn.sortCodeElementViewModels(o,this.settings.sortBy,"asc"===this.settings.sortOrder);for(let l=0;l<o.length;l++)o[l].changeSorting(this.settings.sortBy,"asc"===this.settings.sortOrder);this.codeElements=o,console.log(`Processing assemblies finished (Duration: ${(new Date).getTime()-n}ms, Assemblies: ${o.length}, Classes: ${i})`),""!==this.settings.historyComparisionDate&&this.updateCurrentHistoricCoverage()}updateCurrentHistoricCoverage(){let n=(new Date).getTime();for(let r=0;r<this.codeElements.length;r++)this.codeElements[r].updateCurrentHistoricCoverage(this.settings.historyComparisionDate);console.log(`Updating current historic coverage finished (Duration: ${(new Date).getTime()-n}ms)`)}collapseAll(n){n.preventDefault();for(let r=0;r<this.codeElements.length;r++)this.codeElements[r].collapse()}expandAll(n){n.preventDefault();for(let r=0;r<this.codeElements.length;r++)this.codeElements[r].expand()}updateSorting(n,r){r.preventDefault(),this.settings.sortOrder=n===this.settings.sortBy&&"asc"===this.settings.sortOrder?"desc":"asc",this.settings.sortBy=n,console.log(`Updating sort column: '${this.settings.sortBy}' (${this.settings.sortOrder})`),vn.sortCodeElementViewModels(this.codeElements,this.settings.sortBy,"asc"===this.settings.sortOrder);for(let o=0;o<this.codeElements.length;o++)this.codeElements[o].changeSorting(this.settings.sortBy,"asc"===this.settings.sortOrder)}saveCollapseState(){this.settings.collapseStates=[];let n=r=>{for(let o=0;o<r.length;o++)this.settings.collapseStates.push(r[o].collapsed),n(r[o].subElements)};n(this.codeElements)}restoreCollapseState(){let n=0,r=o=>{for(let i=0;i<o.length;i++)this.settings.collapseStates.length>n&&(o[i].collapsed=this.settings.collapseStates[n]),n++,r(o[i].subElements)};r(this.codeElements)}}return e.\u0275fac=function(n){return new(n||e)(A(Yu))},e.\u0275cmp=rn({type:e,selectors:[["coverage-info"]],hostBindings:function(n,r){1&n&&z("beforeunload",function(){return r.onDonBeforeUnlodad()},!1,Ma)},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&&E(0,YS,79,65,"div",0),2&n&&g("ngIf",r.codeElements.length>0)},directives:[xr,ju,Eo,Au,hs,So,Gu,Wu,fu,Do,ST,pS],encapsulation:2}),e})();class JS{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function XS(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=t.$implicit;g("value",n),h(1),x(n)}}function ex(e,t){if(1&e&&(y(0,"span"),b(1),v()),2&e){const n=C(2);h(1),x(n.translations.top)}}function tx(e,t){1&e&&(y(0,"option",22),b(1,"20"),v())}function nx(e,t){1&e&&(y(0,"option",23),b(1,"50"),v())}function rx(e,t){1&e&&(y(0,"option",24),b(1,"100"),v())}function ox(e,t){if(1&e&&(y(0,"option",15),b(1),v()),2&e){const n=C(3);g("value",n.totalNumberOfRiskHotspots),h(1),x(n.translations.all)}}function ix(e,t){if(1&e){const n=rt();y(0,"select",16),z("ngModelChange",function(o){return ee(n),C(2).settings.numberOfRiskHotspots=o}),y(1,"option",17),b(2,"10"),v(),E(3,tx,2,0,"option",18),E(4,nx,2,0,"option",19),E(5,rx,2,0,"option",20),E(6,ox,2,2,"option",21),v()}if(2&e){const n=C(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 sx(e,t){1&e&&F(0,"col",25)}const ps=function(e,t,n){return{"icon-up-dir_active":e,"icon-down-dir_active":t,"icon-down-dir":n}};function ax(e,t){if(1&e){const n=rt();y(0,"th")(1,"a",12),z("click",function(o){const s=ee(n).index;return C(2).updateSorting(""+s,o)}),F(2,"i",13),b(3),v(),y(4,"a",26),F(5,"i",27),v()()}if(2&e){const n=t.$implicit,r=t.index,o=C(2);h(2),g("ngClass",xe(3,ps,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),h(1),x(n.name),h(1),wr("href",n.explanationUrl,rr)}}const lx=function(e,t){return{lightred:e,lightgreen:t}};function ux(e,t){if(1&e&&(y(0,"td",30),b(1),v()),2&e){const n=t.$implicit;g("ngClass",xl(2,lx,n.exceeded,!n.exceeded)),h(1),x(n.value)}}function cx(e,t){if(1&e&&(y(0,"tr")(1,"td"),b(2),v(),y(3,"td")(4,"a",26),b(5),v()(),y(6,"td",28)(7,"a",26),b(8),v()(),E(9,ux,2,5,"td",29),v()),2&e){const n=t.$implicit,r=C(2);h(2),x(n.assembly),h(2),g("href",n.reportPath+r.queryString,rr),h(1),x(n.class),h(1),g("title",n.methodName),h(1),g("href",n.reportPath+r.queryString+"#file"+n.fileIndex+"_line"+n.line,rr),h(1),q(" ",n.methodShortName," "),h(1),g("ngForOf",n.metrics)}}function dx(e,t){if(1&e){const n=rt();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),z("ngModelChange",function(o){return ee(n),C().settings.assembly=o})("ngModelChange",function(){return ee(n),C().updateRiskHotpots()}),y(4,"option",3),b(5),v(),E(6,XS,2,2,"option",4),v()(),y(7,"div",5),E(8,ex,2,1,"span",0),E(9,ix,7,5,"select",6),v(),F(10,"div",5),y(11,"div",7)(12,"span"),b(13),v(),y(14,"input",8),z("ngModelChange",function(o){return ee(n),C().settings.filter=o})("ngModelChange",function(){return ee(n),C().updateRiskHotpots()}),v()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),F(18,"col")(19,"col")(20,"col"),E(21,sx,1,0,"col",11),v(),y(22,"thead")(23,"tr")(24,"th")(25,"a",12),z("click",function(o){return ee(n),C().updateSorting("assembly",o)}),F(26,"i",13),b(27),v()(),y(28,"th")(29,"a",12),z("click",function(o){return ee(n),C().updateSorting("class",o)}),F(30,"i",13),b(31),v()(),y(32,"th")(33,"a",12),z("click",function(o){return ee(n),C().updateSorting("method",o)}),F(34,"i",13),b(35),v()(),E(36,ax,6,7,"th",14),v()(),y(37,"tbody"),E(38,cx,10,7,"tr",14),function mg(e,t){const n=K();let r;const o=e+20;n.firstCreatePass?(r=function xE(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=An(r.type)),s=tn(A);try{const a=Xo(!1),l=i();return Xo(a),function Zw(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{tn(s)}}(39,"slice"),v()()()()}if(2&e){const n=C();h(3),g("ngModel",n.settings.assembly),h(2),x(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),q("",n.translations.filter," "),h(1),g("ngModel",n.settings.filter),h(7),g("ngForOf",n.riskHotspotMetrics),h(5),g("ngClass",xe(20,ps,"assembly"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"assembly"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"assembly"!==n.settings.sortBy)),h(1),x(n.translations.assembly),h(3),g("ngClass",xe(24,ps,"class"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"class"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"class"!==n.settings.sortBy)),h(1),x(n.translations.class),h(3),g("ngClass",xe(28,ps,"method"===n.settings.sortBy&&"desc"===n.settings.sortOrder,"method"===n.settings.sortBy&&"asc"===n.settings.sortOrder,"method"!==n.settings.sortBy)),h(1),x(n.translations.method),h(1),g("ngForOf",n.riskHotspotMetrics),h(2),g("ngForOf",function _g(e,t,n,r,o){const i=e+20,s=w(),a=function Gn(e,t){return e[t]}(s,i);return function go(e,t){return e[1].data[t].pure}(s,i)?hg(s,He(),t,a.transform,n,r,o,a):a.transform(n,r,o)}(39,16,n.riskHotspots,0,n.settings.numberOfRiskHotspots))}}let fx=(()=>{class e{constructor(n){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new JS,this.window=n.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 n=window.location.href.indexOf("?");n>-1&&(this.queryString=window.location.href.substr(n)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let n=new q_;null!==window.history.state&&(n=JSON.parse(JSON.stringify(this.window.history.state))),n.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(n,"")}}updateRiskHotpots(){const n=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=n.length,0===this.assemblies.length){let s=[];for(let a=0;a<n.length;a++)-1===s.indexOf(n[a].assembly)&&s.push(n[a].assembly);this.assemblies=s.sort()}let r=[];for(let s=0;s<n.length;s++)""!==this.settings.filter&&-1===n[s].class.toLowerCase().indexOf(this.settings.filter)||""!==this.settings.assembly&&n[s].assembly!==this.settings.assembly||r.push(n[s]);let o="asc"===this.settings.sortOrder?-1:1,i="asc"===this.settings.sortOrder?1:-1;if("assembly"===this.settings.sortBy)r.sort(function(s,a){return s.assembly===a.assembly?0:s.assembly<a.assembly?o:i});else if("class"===this.settings.sortBy)r.sort(function(s,a){return s.class===a.class?0:s.class<a.class?o:i});else if("method"===this.settings.sortBy)r.sort(function(s,a){return s.methodShortName===a.methodShortName?0:s.methodShortName<a.methodShortName?o:i});else if(""!==this.settings.sortBy){let s=parseInt(this.settings.sortBy,10);r.sort(function(a,l){return a.metrics[s].value===l.metrics[s].value?0:a.metrics[s].value<l.metrics[s].value?o:i})}this.riskHotspots=r}updateSorting(n,r){r.preventDefault(),this.settings.sortOrder=n===this.settings.sortBy&&"asc"===this.settings.sortOrder?"desc":"asc",this.settings.sortBy=n,console.log(`Updating sort column: '${this.settings.sortBy}' (${this.settings.sortOrder})`),this.updateRiskHotpots()}}return e.\u0275fac=function(n){return new(n||e)(A(Yu))},e.\u0275cmp=rn({type:e,selectors:[["risk-hotspots"]],hostBindings:function(n,r){1&n&&z("beforeunload",function(){return r.onDonBeforeUnlodad()},!1,Ma)},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&&E(0,dx,40,32,"div",0),2&n&&g("ngIf",r.totalNumberOfRiskHotspots>0)},directives:[xr,So,Au,hs,Gu,Wu,fu,Eo,Do],pipes:[Am],encapsulation:2}),e})(),hx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=on({type:e,bootstrap:[fx,KS]}),e.\u0275inj=Gt({providers:[Yu],imports:[[QI,fT]]}),e})();(function L1(){tm=!1})(),qI().bootstrapModule(hx).catch(e=>console.error(e))}},pe=>{pe(pe.s=873)}]);
(45-45/46)