text: /* Chartist.js 0.11.0
   * Copyright © 2017 Gion Kunz
   * Free to use under either the WTFPL license or the MIT license.
   * https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-WTFPL
   * https://raw.githubusercontent.com/gionkunz/chartist-js/master/LICENSE-MIT
   */
  
  !function (a, b) { "function" == typeof define && define.amd ? define("Chartist", [], function () { return a.Chartist = b() }) : "object" == typeof module && module.exports ? module.exports = b() : a.Chartist = b() }(this, function () {
      var a = { version: "0.11.0" }; return function (a, b, c) { "use strict"; c.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" }, c.noop = function (a) { return a }, c.alphaNumerate = function (a) { return String.fromCharCode(97 + a % 26) }, c.extend = function (a) { var b, d, e; for (a = a || {}, b = 1; b < arguments.length; b++) { d = arguments[b]; for (var f in d) e = d[f], "object" != typeof e || null === e || e instanceof Array ? a[f] = e : a[f] = c.extend(a[f], e) } return a }, c.replaceAll = function (a, b, c) { return a.replace(new RegExp(b, "g"), c) }, c.ensureUnit = function (a, b) { return "number" == typeof a && (a += b), a }, c.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 } }, c.querySelector = function (a) { return a instanceof Node ? a : b.querySelector(a) }, c.times = function (a) { return Array.apply(null, new Array(a)) }, c.sum = function (a, b) { return a + (b ? b : 0) }, c.mapMultiply = function (a) { return function (b) { return b * a } }, c.mapAdd = function (a) { return function (b) { return b + a } }, c.serialMap = function (a, b) { var d = [], e = Math.max.apply(null, a.map(function (a) { return a.length })); return c.times(e).forEach(function (c, e) { var f = a.map(function (a) { return a[e] }); d[e] = b.apply(null, f) }), d }, c.roundWithPrecision = function (a, b) { var d = Math.pow(10, b || c.precision); return Math.round(a * d) / d }, c.precision = 8, c.escapingMap = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#039;" }, c.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(c.escapingMap).reduce(function (a, b) { return c.replaceAll(a, b, c.escapingMap[b]) }, a)) }, c.deserialize = function (a) { if ("string" != typeof a) return a; a = Object.keys(c.escapingMap).reduce(function (a, b) { return c.replaceAll(a, c.escapingMap[b], b) }, a); try { a = JSON.parse(a), a = void 0 !== a.data ? a.data : a } catch (b) { } return a }, c.createSvg = function (a, b, d, e) { var f; return b = b || "100%", d = d || "100%", Array.prototype.slice.call(a.querySelectorAll("svg")).filter(function (a) { return a.getAttributeNS(c.namespaces.xmlns, "ct") }).forEach(function (b) { a.removeChild(b) }), f = new c.Svg("svg").attr({ width: b, height: d }).addClass(e), f._node.style.width = b, f._node.style.height = d, a.appendChild(f._node), f }, c.normalizeData = function (a, b, d) { var e, f = { raw: a, normalized: {} }; return f.normalized.series = c.getDataArray({ series: a.series || [] }, b, 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, c.times(Math.max(0, e - f.normalized.labels.length)).map(function () { return "" })), b && c.reverseData(f.normalized), f }, c.safeHasProperty = function (a, b) { return null !== a && "object" == typeof a && a.hasOwnProperty(b) }, c.isDataHoleValue = function (a) { return null === a || void 0 === a || "number" == typeof a && isNaN(a) }, c.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() }, c.getDataArray = function (a, b, d) { function e(a) { if (c.safeHasProperty(a, "value")) return e(a.value); if (c.safeHasProperty(a, "data")) return e(a.data); if (a instanceof Array) return a.map(e); if (!c.isDataHoleValue(a)) { if (d) { var b = {}; return "string" == typeof d ? b[d] = c.getNumberOrUndefined(a) : b.y = c.getNumberOrUndefined(a), b.x = a.hasOwnProperty("x") ? c.getNumberOrUndefined(a.x) : b.x, b.y = a.hasOwnProperty("y") ? c.getNumberOrUndefined(a.y) : b.y, b } return c.getNumberOrUndefined(a) } } return a.series.map(e) }, c.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 } }, c.getMetaData = function (a, b) { var c = a.data ? a.data[b] : a[b]; return c ? c.meta : void 0 }, c.orderOfMagnitude = function (a) { return Math.floor(Math.log(Math.abs(a)) / Math.LN10) }, c.projectLength = function (a, b, c) { return b / c.range * a }, c.getAvailableHeight = function (a, b) { return Math.max((c.quantity(b.height).value || a.height()) - (b.chartPadding.top + b.chartPadding.bottom) - b.axisX.offset, 0) }, c.getHighLow = function (a, b, 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) } } b = c.extend({}, b, d ? b["axis" + d.toUpperCase()] : {}); var f = { high: void 0 === b.high ? -Number.MAX_VALUE : +b.high, low: void 0 === b.low ? Number.MAX_VALUE : +b.low }, g = void 0 === b.high, h = void 0 === b.low; return (g || h) && e(a), (b.referenceValue || 0 === b.referenceValue) && (f.high = Math.max(b.referenceValue, f.high), f.low = Math.min(b.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 }, c.isNumeric = function (a) { return null !== a && isFinite(a) }, c.isFalseyButZero = function (a) { return !a && 0 !== a }, c.getNumberOrUndefined = function (a) { return c.isNumeric(a) ? +a : void 0 }, c.isMultiValue = function (a) { return "object" == typeof a && ("x" in a || "y" in a) }, c.getMultiValue = function (a, b) { return c.isMultiValue(a) ? c.getNumberOrUndefined(a[b || "y"]) : c.getNumberOrUndefined(a) }, c.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 }, c.getBounds = function (a, b, 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: b.high, low: b.low }; k.valueRange = k.high - k.low, k.oom = c.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 = c.projectLength(a, k.step, k), m = l < d, n = e ? c.rho(k.range) : 0; if (e && c.projectLength(a, 1, k) >= d) k.step = 1; else if (e && n < k.step && c.projectLength(a, n, k) >= d) k.step = n; else for (; ;) { if (m && c.projectLength(a, k.step, k) <= d) k.step *= 2; else { if (m || !(c.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 = c.roundWithPrecision(g); q !== p[p.length - 1] && p.push(q) } return k.values = p, k }, c.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) } }, c.createChartRect = function (a, b, d) { var e = !(!b.axisX && !b.axisY), f = e ? b.axisY.offset : 0, g = e ? b.axisX.offset : 0, h = a.width() || c.quantity(b.width).value || 0, i = a.height() || c.quantity(b.height).value || 0, j = c.normalizePadding(b.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" === b.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" === b.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 }, c.createGrid = function (a, b, 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", c.extend({ type: "grid", axis: d, index: b, group: g, element: k }, j)) }, c.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 }) }, c.createLabel = function (a, d, 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] = d, o[g.counterUnits.len] = Math.max(0, h - 10), l) { var p = b.createElement("span"); p.className = k.join(" "), p.setAttribute("xmlns", c.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, c.extend({ style: "overflow: visible;" }, o)) } else n = j.elem("text", o, k.join(" ")).text(f[e]); m.emit("draw", c.extend({ type: "label", axis: g, index: e, group: j, element: n, text: f[e] }, o)) }, c.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] }, c.optionsProvider = function (b, d, e) { function f(b) { var f = h; if (h = c.extend({}, j), d) for (i = 0; i < d.length; i++) { var g = a.matchMedia(d[i][0]); g.matches && (h = c.extend(h, d[i][1])) } e && b && e.emit("optionsChanged", { previousOptions: f, currentOptions: h }) } function g() { k.forEach(function (a) { a.removeListener(f) }) } var h, i, j = c.extend({}, b), k = []; if (!a.matchMedia) throw "window.matchMedia not found! Make sure you're using a polyfill."; if (d) for (i = 0; i < d.length; i++) { var l = a.matchMedia(d[i][0]); l.addListener(f), k.push(l) } return f(), { removeMediaQueryListeners: g, getCurrentOptions: function () { return c.extend({}, h) } } }, c.splitIntoSegments = function (a, b, d) { var e = { increasingX: !1, fillHoles: !1 }; d = c.extend({}, e, d); for (var f = [], g = !0, h = 0; h < a.length; h += 2)void 0 === c.getMultiValue(b[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(b[h / 2])); return f } }(window, document, a), function (a, b, c) { "use strict"; c.Interpolation = {}, c.Interpolation.none = function (a) { var b = { fillHoles: !1 }; return a = c.extend({}, b, a), function (b, d) { for (var e = new c.Svg.Path, f = !0, g = 0; g < b.length; g += 2) { var h = b[g], i = b[g + 1], j = d[g / 2]; void 0 !== c.getMultiValue(j.value) ? (f ? e.move(h, i, !1, j) : e.line(h, i, !1, j), f = !1) : a.fillHoles || (f = !0) } return e } }, c.Interpolation.simple = function (a) { var b = { divisor: 2, fillHoles: !1 }; a = c.extend({}, b, a); var d = 1 / Math.max(1, a.divisor); return function (b, e) { for (var f, g, h, i = new c.Svg.Path, j = 0; j < b.length; j += 2) { var k = b[j], l = b[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 } }, c.Interpolation.cardinal = function (a) { var b = { tension: 1, fillHoles: !1 }; a = c.extend({}, b, a); var d = Math.min(1, Math.max(0, a.tension)), e = 1 - d; return function f(b, g) { var h = c.splitIntoSegments(b, 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)) }), c.Svg.Path.join(i) } if (b = h[0].pathCoordinates, g = h[0].valueData, b.length <= 4) return c.Interpolation.none()(b, g); for (var j, k = (new c.Svg.Path).move(b[0], b[1], !1, g[0]), l = 0, m = b.length; m - 2 * !j > l; l += 2) { var n = [{ x: +b[l - 2], y: +b[l - 1] }, { x: +b[l], y: +b[l + 1] }, { x: +b[l + 2], y: +b[l + 3] }, { x: +b[l + 4], y: +b[l + 5] }]; j ? l ? m - 4 === l ? n[3] = { x: +b[0], y: +b[1] } : m - 2 === l && (n[2] = { x: +b[0], y: +b[1] }, n[3] = { x: +b[2], y: +b[3] }) : n[0] = { x: +b[m - 2], y: +b[m - 1] } : m - 4 === l ? n[3] = n[2] : l || (n[0] = { x: +b[l], y: +b[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 c.Interpolation.none()([]) } }, c.Interpolation.monotoneCubic = function (a) { var b = { fillHoles: !1 }; return a = c.extend({}, b, a), function d(b, e) { var f = c.splitIntoSegments(b, 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)) }), c.Svg.Path.join(g) } if (b = f[0].pathCoordinates, e = f[0].valueData, b.length <= 4) return c.Interpolation.none()(b, e); var h, i, j = [], k = [], l = b.length / 2, m = [], n = [], o = [], p = []; for (h = 0; h < l; h++)j[h] = b[2 * h], k[h] = b[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 c.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 c.Interpolation.none()([]) } }, c.Interpolation.step = function (a) { var b = { postpone: !0, fillHoles: !1 }; return a = c.extend({}, b, a), function (b, d) { for (var e, f, g, h = new c.Svg.Path, i = 0; i < b.length; i += 2) { var j = b[i], k = b[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 } } }(window, document, a), function (a, b, c) { "use strict"; c.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 } } }(window, document, a), function (a, b, c) { "use strict"; function d(a) { var b = []; if (a.length) for (var c = 0; c < a.length; c++)b.push(a[c]); return b } function e(a, b) { var d = b || this.prototype || c.Class, e = Object.create(d); c.Class.cloneDefinitions(e, a); var f = function () { var a, b = e.constructor || function () { }; return a = this === c ? Object.create(e) : this, b.apply(a, Array.prototype.slice.call(arguments, 0)), a }; return f.prototype = e, f["super"] = d, f.extend = this.extend, f } function f() { var a = d(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 } c.Class = { extend: e, cloneDefinitions: f } }(window, document, a), function (a, b, c) { "use strict"; function d(a, b, 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 })), b && (this.options = c.extend({}, d ? this.options : this.defaultOptions, b), this.initializeTimeoutId || (this.optionsProvider.removeMediaQueryListeners(), this.optionsProvider = c.optionsProvider(this.options, this.responsiveOptions, this.eventEmitter))), this.initializeTimeoutId || this.createChart(this.optionsProvider.getCurrentOptions()), this } function e() { return this.initializeTimeoutId ? a.clearTimeout(this.initializeTimeoutId) : (a.removeEventListener("resize", this.resizeListener), this.optionsProvider.removeMediaQueryListeners()), this } function f(a, b) { return this.eventEmitter.addEventHandler(a, b), this } function g(a, b) { return this.eventEmitter.removeEventHandler(a, b), this } function h() { a.addEventListener("resize", this.resizeListener), this.optionsProvider = c.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 i(a, b, d, e, f) { this.container = c.querySelector(a), this.data = b || {}, this.data.labels = this.data.labels || [], this.data.series = this.data.series || [], this.defaultOptions = d, this.options = e, this.responsiveOptions = f, this.eventEmitter = c.EventEmitter(), this.supportsForeignObject = c.Svg.isSupported("Extensibility"), this.supportsAnimations = c.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(h.bind(this), 0) } c.Base = c.Class.extend({ constructor: i, 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: d, detach: e, on: f, off: g, version: c.version, supportsForeignObject: !1 }) }(window, document, a), function (a, b, c) { "use strict"; function d(a, d, e, f, g) { a instanceof Element ? this._node = a : (this._node = b.createElementNS(c.namespaces.svg, a), "svg" === a && this.attr({ "xmlns:ct": c.namespaces.ct })), d && this.attr(d), e && this.addClass(e), f && (g && f._node.firstChild ? f._node.insertBefore(this._node, f._node.firstChild) : f._node.appendChild(this._node)) } function e(a, b) { return "string" == typeof a ? b ? this._node.getAttributeNS(b, a) : this._node.getAttribute(a) : (Object.keys(a).forEach(function (b) { if (void 0 !== a[b]) if (b.indexOf(":") !== -1) { var d = b.split(":"); this._node.setAttributeNS(c.namespaces[d[0]], b, a[b]) } else this._node.setAttribute(b, a[b]) }.bind(this)), this) } function f(a, b, d, e) { return new c.Svg(a, b, d, this, e) } function g() { return this._node.parentNode instanceof SVGElement ? new c.Svg(this._node.parentNode) : null } function h() { for (var a = this._node; "svg" !== a.nodeName;)a = a.parentNode; return new c.Svg(a) } function i(a) { var b = this._node.querySelector(a); return b ? new c.Svg(b) : null } function j(a) { var b = this._node.querySelectorAll(a); return b.length ? new c.Svg.List(b) : null } function k() { return this._node } function l(a, d, e, f) { if ("string" == typeof a) { var g = b.createElement("div"); g.innerHTML = a, a = g.firstChild } a.setAttribute("xmlns", c.namespaces.xmlns); var h = this.elem("foreignObject", d, e, f); return h._node.appendChild(a), h } function m(a) { return this._node.appendChild(b.createTextNode(a)), this } function n() { for (; this._node.firstChild;)this._node.removeChild(this._node.firstChild); return this } function o() { return this._node.parentNode.removeChild(this._node), this.parent() } function p(a) { return this._node.parentNode.replaceChild(a._node, this._node), a } function q(a, b) { return b && this._node.firstChild ? this._node.insertBefore(a._node, this._node.firstChild) : this._node.appendChild(a._node), this } function r() { return this._node.getAttribute("class") ? this._node.getAttribute("class").trim().split(/\s+/) : [] } function s(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 t(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 u() { return this._node.setAttribute("class", ""), this } function v() { return this._node.getBoundingClientRect().height } function w() { return this._node.getBoundingClientRect().width } function x(a, b, d) { return void 0 === b && (b = !0), Object.keys(a).forEach(function (e) { function f(a, b) { var f, g, h, i = {}; a.easing && (h = a.easing instanceof Array ? a.easing : c.Svg.Easing[a.easing], delete a.easing), a.begin = c.ensureUnit(a.begin, "ms"), a.dur = c.ensureUnit(a.dur, "ms"), h && (a.calcMode = "spline", a.keySplines = h.join(" "), a.keyTimes = "0;1"), b && (a.fill = "freeze", i[e] = a.from, this.attr(i), g = c.quantity(a.begin || 0).value, a.begin = "indefinite"), f = this.elem("animate", c.extend({ attributeName: e }, a)), b && 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 }), b && (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], b) }.bind(this)), this } function y(a) { var b = this; this.svgElements = []; for (var d = 0; d < a.length; d++)this.svgElements.push(new c.Svg(a[d])); Object.keys(c.Svg.prototype).filter(function (a) { return ["constructor", "parent", "querySelector", "querySelectorAll", "replace", "append", "classes", "height", "width"].indexOf(a) === -1 }).forEach(function (a) { b[a] = function () { var d = Array.prototype.slice.call(arguments, 0); return b.svgElements.forEach(function (b) { c.Svg.prototype[a].apply(b, d) }), b } }) } c.Svg = c.Class.extend({ constructor: d, attr: e, elem: f, parent: g, root: h, querySelector: i, querySelectorAll: j, getNode: k, foreignObject: l, text: m, empty: n, remove: o, replace: p, append: q, classes: r, addClass: s, removeClass: t, removeAllClasses: u, height: v, width: w, animate: x }), c.Svg.isSupported = function (a) { return b.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] }; c.Svg.Easing = z, c.Svg.List = c.Class.extend({ constructor: y }) }(window, document, a), function (a, b, c) { "use strict"; function d(a, b, d, e, f, g) { var h = c.extend({ command: f ? a.toLowerCase() : a.toUpperCase() }, b, g ? { data: g } : {}); d.splice(e, 0, h) } function e(a, b) { a.forEach(function (c, d) { u[c.command.toLowerCase()].forEach(function (e, f) { b(c, e, d, f, a) }) }) } function f(a, b) { this.pathElements = [], this.pos = 0, this.close = a, this.options = c.extend({}, v, b) } function g(a) { return void 0 !== a ? (this.pos = Math.max(0, Math.min(this.pathElements.length, a)), this) : this.pos } function h(a) { return this.pathElements.splice(this.pos, a), this } function i(a, b, c, e) { return d("M", { x: +a, y: +b }, this.pathElements, this.pos++, c, e), this } function j(a, b, c, e) { return d("L", { x: +a, y: +b }, this.pathElements, this.pos++, c, e), this } function k(a, b, c, e, f, g, h, i) { return d("C", { x1: +a, y1: +b, x2: +c, y2: +e, x: +f, y: +g }, this.pathElements, this.pos++, h, i), this } function l(a, b, c, e, f, g, h, i, j) { return d("A", { rx: +a, ry: +b, xAr: +c, lAf: +e, sf: +f, x: +g, y: +h }, this.pathElements, this.pos++, i, j), this } function m(a) { var b = 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" === b[b.length - 1][0].toUpperCase() && b.pop(); var d = b.map(function (a) { var b = a.shift(), d = u[b.toLowerCase()]; return c.extend({ command: b }, 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 n() { var a = Math.pow(10, this.options.accuracy); return this.pathElements.reduce(function (b, c) { var d = u[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 o(a, b) { return e(this.pathElements, function (c, d) { c[d] *= "x" === d[0] ? a : b }), this } function p(a, b) { return e(this.pathElements, function (c, d) { c[d] += "x" === d[0] ? a : b }), this } function q(a) { return e(this.pathElements, function (b, c, d, e, f) { var g = a(b, c, d, e, f); (g || 0 === g) && (b[c] = g) }), this } function r(a) { var b = new c.Svg.Path(a || this.close); return b.pos = this.pos, b.pathElements = this.pathElements.slice().map(function (a) { return c.extend({}, a) }), b.options = c.extend({}, this.options), b } function s(a) { var b = [new c.Svg.Path]; return this.pathElements.forEach(function (d) { d.command === a.toUpperCase() && 0 !== b[b.length - 1].pathElements.length && b.push(new c.Svg.Path), b[b.length - 1].pathElements.push(d) }), b } function t(a, b, d) { for (var e = new c.Svg.Path(b, 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 u = { m: ["x", "y"], l: ["x", "y"], c: ["x1", "y1", "x2", "y2", "x", "y"], a: ["rx", "ry", "xAr", "lAf", "sf", "x", "y"] }, v = { accuracy: 3 }; c.Svg.Path = c.Class.extend({ constructor: f, position: g, remove: h, move: i, line: j, curve: k, arc: l, scale: o, translate: p, transform: q, parse: m, stringify: n, clone: r, splitByCommand: s }), c.Svg.Path.elementDescriptions = u, c.Svg.Path.join = t }(window, document, a), function (a, b, c) { "use strict"; function d(a, b, c, d) { this.units = a, this.counterUnits = a === f.x ? f.y : f.x, this.chartRect = b, this.axisLength = b[a.rectEnd] - b[a.rectStart], this.gridOffset = b[a.rectOffset], this.ticks = c, this.options = d } function e(a, b, 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), c.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 && c.createGrid(j, k, this, this.gridOffset, this.chartRect[this.counterUnits.len](), a, [e.classNames.grid, e.classNames[this.units.dir]], f), g.showLabel && c.createLabel(j, l, k, i, this, g.offset, m, b, [e.classNames.label, e.classNames[this.units.dir], "start" === g.position ? e.classNames[g.position] : e.classNames.end], d, f)) }.bind(this)) } var f = { 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" } }; c.Axis = c.Class.extend({ constructor: d, createGridAndLabels: e, projectValue: function (a, b, c) { throw new Error("Base axis can't be instantiated!") } }), c.Axis.units = f }(window, document, a), function (a, b, c) { "use strict"; function d(a, b, d, e) { var f = e.highLow || c.getHighLow(b, e, a.pos); this.bounds = c.getBounds(d[a.rectEnd] - d[a.rectStart], f, e.scaleMinSpace || 20, e.onlyInteger), this.range = { min: this.bounds.min, max: this.bounds.max }, c.AutoScaleAxis["super"].constructor.call(this, a, d, this.bounds.values, e) } function e(a) { return this.axisLength * (+c.getMultiValue(a, this.units.pos) - this.bounds.min) / this.bounds.range } c.AutoScaleAxis = c.Axis.extend({ constructor: d, projectValue: e }) }(window, document, a), function (a, b, c) { "use strict"; function d(a, b, d, e) { var f = e.highLow || c.getHighLow(b, e, a.pos); this.divisor = e.divisor || 1, this.ticks = e.ticks || c.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 }, c.FixedScaleAxis["super"].constructor.call(this, a, d, this.ticks, e), this.stepLength = this.axisLength / this.divisor } function e(a) { return this.axisLength * (+c.getMultiValue(a, this.units.pos) - this.range.min) / (this.range.max - this.range.min) } c.FixedScaleAxis = c.Axis.extend({ constructor: d, projectValue: e }) }(window, document, a), function (a, b, c) { "use strict"; function d(a, b, d, e) { c.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 e(a, b) { return this.stepLength * b } c.StepAxis = c.Axis.extend({ constructor: d, projectValue: e }) }(window, document, a), function (a, b, c) { "use strict"; function d(a) { var b = c.normalizeData(this.data, a.reverseData, !0); this.svg = c.createSvg(this.container, a.width, a.height, a.classNames.chart); var d, e, g = this.svg.elem("g").addClass(a.classNames.gridGroup), h = this.svg.elem("g"), i = this.svg.elem("g").addClass(a.classNames.labelGroup), j = c.createChartRect(this.svg, a, f.padding); d = void 0 === a.axisX.type ? new c.StepAxis(c.Axis.units.x, b.normalized.series, j, c.extend({}, a.axisX, { ticks: b.normalized.labels, stretch: a.fullWidth })) : a.axisX.type.call(c, c.Axis.units.x, b.normalized.series, j, a.axisX), e = void 0 === a.axisY.type ? new c.AutoScaleAxis(c.Axis.units.y, b.normalized.series, j, c.extend({}, a.axisY, { high: c.isNumeric(a.high) ? a.high : a.axisY.high, low: c.isNumeric(a.low) ? a.low : a.axisY.low })) : a.axisY.type.call(c, c.Axis.units.y, b.normalized.series, j, a.axisY), d.createGridAndLabels(g, i, this.supportsForeignObject, a, this.eventEmitter), e.createGridAndLabels(g, i, this.supportsForeignObject, a, this.eventEmitter), a.showGridBackground && c.createGridBackground(g, j, a.classNames.gridBackground, this.eventEmitter), b.raw.series.forEach(function (f, g) { var i = h.elem("g"); i.attr({ "ct:series-name": f.name, "ct:meta": c.serialize(f.meta) }), i.addClass([a.classNames.series, f.className || a.classNames.series + "-" + c.alphaNumerate(g)].join(" ")); var k = [], l = []; b.normalized.series[g].forEach(function (a, h) { var i = { x: j.x1 + d.projectValue(a, h, b.normalized.series[g]), y: j.y1 - e.projectValue(a, h, b.normalized.series[g]) }; k.push(i.x, i.y), l.push({ value: a, valueIndex: h, meta: c.getMetaData(f, h) }) }.bind(this)); var m = { lineSmooth: c.getSeriesOption(f, a, "lineSmooth"), showPoint: c.getSeriesOption(f, a, "showPoint"), showLine: c.getSeriesOption(f, a, "showLine"), showArea: c.getSeriesOption(f, a, "showArea"), areaBase: c.getSeriesOption(f, a, "areaBase") }, n = "function" == typeof m.lineSmooth ? m.lineSmooth : m.lineSmooth ? c.Interpolation.monotoneCubic() : c.Interpolation.none(), o = n(k, l); if (m.showPoint && o.pathElements.forEach(function (b) { var h = i.elem("line", { x1: b.x, y1: b.y, x2: b.x + .01, y2: b.y }, a.classNames.point).attr({ "ct:value": [b.data.value.x, b.data.value.y].filter(c.isNumeric).join(","), "ct:meta": c.serialize(b.data.meta) }); this.eventEmitter.emit("draw", { type: "point", value: b.data.value, index: b.data.valueIndex, meta: b.data.meta, series: f, seriesIndex: g, axisX: d, axisY: e, group: i, element: h, x: b.x, y: b.y }) }.bind(this)), m.showLine) { var p = i.elem("path", { d: o.stringify() }, a.classNames.line, !0); this.eventEmitter.emit("draw", { type: "line", values: b.normalized.series[g], path: o.clone(), chartRect: j, index: g, series: f, seriesIndex: g, seriesMeta: f.meta, axisX: d, axisY: e, group: i, element: p }) } if (m.showArea && e.range) { var q = Math.max(Math.min(m.areaBase, e.range.max), e.range.min), r = j.y1 - e.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 (c) { var h = i.elem("path", { d: c.stringify() }, a.classNames.area, !0); this.eventEmitter.emit("draw", { type: "area", values: b.normalized.series[g], path: c.clone(), series: f, seriesIndex: g, axisX: d, axisY: e, chartRect: j, index: g, group: i, element: h }) }.bind(this)) } }.bind(this)), this.eventEmitter.emit("created", { bounds: e.bounds, chartRect: j, axisX: d, axisY: e, svg: this.svg, options: a }) } function e(a, b, d, e) { c.Line["super"].constructor.call(this, a, b, f, c.extend({}, f, d), e) } var f = { axisX: { offset: 30, position: "end", labelOffset: { x: 0, y: 0 }, showLabel: !0, showGrid: !0, labelInterpolationFnc: c.noop, type: void 0 }, axisY: { offset: 40, position: "start", labelOffset: { x: 0, y: 0 }, showLabel: !0, showGrid: !0, labelInterpolationFnc: c.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" } }; c.Line = c.Base.extend({ constructor: e, createChart: d }) }(window, document, a), function (a, b, c) {
          "use strict"; function d(a) {
              var b, d; a.distributeSeries ? (b = c.normalizeData(this.data, a.reverseData, a.horizontalBars ? "x" : "y"), b.normalized.series = b.normalized.series.map(function (a) { return [a] })) : b = c.normalizeData(this.data, a.reverseData, a.horizontalBars ? "x" : "y"), this.svg = c.createSvg(this.container, a.width, a.height, a.classNames.chart + (a.horizontalBars ? " " + a.classNames.horizontalBars : "")); var e = this.svg.elem("g").addClass(a.classNames.gridGroup), g = this.svg.elem("g"), h = this.svg.elem("g").addClass(a.classNames.labelGroup); if (a.stackBars && 0 !== b.normalized.series.length) {
                  var i = c.serialMap(b.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 = c.getHighLow([i], a, a.horizontalBars ? "x" : "y")
              } else d = c.getHighLow(b.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 = c.createChartRect(this.svg, a, f.padding); k = a.distributeSeries && a.stackBars ? b.normalized.labels.slice(0, 1) : b.normalized.labels, a.horizontalBars ? (j = m = void 0 === a.axisX.type ? new c.AutoScaleAxis(c.Axis.units.x, b.normalized.series, o, c.extend({}, a.axisX, { highLow: d, referenceValue: 0 })) : a.axisX.type.call(c, c.Axis.units.x, b.normalized.series, o, c.extend({}, a.axisX, { highLow: d, referenceValue: 0 })), l = n = void 0 === a.axisY.type ? new c.StepAxis(c.Axis.units.y, b.normalized.series, o, { ticks: k }) : a.axisY.type.call(c, c.Axis.units.y, b.normalized.series, o, a.axisY)) : (l = m = void 0 === a.axisX.type ? new c.StepAxis(c.Axis.units.x, b.normalized.series, o, { ticks: k }) : a.axisX.type.call(c, c.Axis.units.x, b.normalized.series, o, a.axisX), j = n = void 0 === a.axisY.type ? new c.AutoScaleAxis(c.Axis.units.y, b.normalized.series, o, c.extend({}, a.axisY, { highLow: d, referenceValue: 0 })) : a.axisY.type.call(c, c.Axis.units.y, b.normalized.series, o, c.extend({}, a.axisY, { highLow: d, referenceValue: 0 }))); var p = a.horizontalBars ? o.x1 + j.projectValue(0) : o.y1 - j.projectValue(0), q = []; l.createGridAndLabels(e, h, this.supportsForeignObject, a, this.eventEmitter), j.createGridAndLabels(e, h, this.supportsForeignObject, a, this.eventEmitter), a.showGridBackground && c.createGridBackground(e, o, a.classNames.gridBackground, this.eventEmitter), b.raw.series.forEach(function (d, e) { var f, h, i = e - (b.raw.series.length - 1) / 2; f = a.distributeSeries && !a.stackBars ? l.axisLength / b.normalized.series.length / 2 : a.distributeSeries && a.stackBars ? l.axisLength / 2 : l.axisLength / b.normalized.series[e].length / 2, h = g.elem("g"), h.attr({ "ct:series-name": d.name, "ct:meta": c.serialize(d.meta) }), h.addClass([a.classNames.series, d.className || a.classNames.series + "-" + c.alphaNumerate(e)].join(" ")), b.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, b.normalized.series[e]), y: o.y1 - l.projectValue(g && g.y ? g.y : 0, u, b.normalized.series[e]) } : { x: o.x1 + l.projectValue(g && g.x ? g.x : 0, u, b.normalized.series[e]), y: o.y1 - j.projectValue(g && g.y ? g.y : 0, k, b.normalized.series[e]) }, l instanceof c.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 = c.getMetaData(d, k); s = h.elem("line", v, a.classNames.bar).attr({ "ct:value": [g.x, g.y].filter(c.isNumeric).join(","), "ct:meta": c.serialize(w) }), this.eventEmitter.emit("draw", c.extend({ type: "bar", value: g, index: k, meta: w, series: d, seriesIndex: e, axisX: m, axisY: n, chartRect: o, group: h, element: s }, v)) } }.bind(this)) }.bind(this)), this.eventEmitter.emit("created", { bounds: j.bounds, chartRect: o, axisX: m, axisY: n, svg: this.svg, options: a })
          } function e(a, b, d, e) { c.Bar["super"].constructor.call(this, a, b, f, c.extend({}, f, d), e) } var f = { axisX: { offset: 30, position: "end", labelOffset: { x: 0, y: 0 }, showLabel: !0, showGrid: !0, labelInterpolationFnc: c.noop, scaleMinSpace: 30, onlyInteger: !1 }, axisY: { offset: 40, position: "start", labelOffset: { x: 0, y: 0 }, showLabel: !0, showGrid: !0, labelInterpolationFnc: c.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" } }; c.Bar = c.Base.extend({ constructor: e, createChart: d })
      }(window, document, a), function (a, b, c) { "use strict"; function d(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 e(a) { var b, e, f, h, i, j = c.normalizeData(this.data), k = [], l = a.startAngle; this.svg = c.createSvg(this.container, a.width, a.height, a.donut ? a.classNames.chartDonut : a.classNames.chartPie), e = c.createChartRect(this.svg, a, g.padding), f = Math.min(e.width() / 2, e.height() / 2), i = a.total || j.normalized.series.reduce(function (a, b) { return a + b }, 0); var m = c.quantity(a.donutWidth); "%" === m.unit && (m.value *= f / 100), f -= a.donut && !a.donutSolid ? m.value / 2 : 0, h = "outside" === a.labelPosition || a.donut && !a.donutSolid ? f : "center" === a.labelPosition ? 0 : a.donutSolid ? f - m.value / 2 : f / 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 && (b = this.svg.elem("g", null, null)), j.raw.series.forEach(function (e, g) { if (0 !== j.normalized.series[g] || !a.ignoreEmptyValues) { k[g].attr({ "ct:series-name": e.name }), k[g].addClass([a.classNames.series, e.className || a.classNames.series + "-" + c.alphaNumerate(g)].join(" ")); var p = i > 0 ? l + j.normalized.series[g] / i * 360 : 0, q = Math.max(0, l - (0 === g || o ? 0 : .2)); p - q >= 359.99 && (p = q + 359.99); var r, s, t, u = c.polarToCartesian(n.x, n.y, f, q), v = c.polarToCartesian(n.x, n.y, f, p), w = new c.Svg.Path(!a.donut || a.donutSolid).move(v.x, v.y).arc(f, f, 0, p - l > 180, 0, u.x, u.y); a.donut ? a.donutSolid && (t = f - m.value, r = c.polarToCartesian(n.x, n.y, t, l - (0 === g || o ? 0 : .2)), s = c.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[g].elem("path", { d: w.stringify() }, x); if (y.attr({ "ct:value": j.normalized.series[g], "ct:meta": c.serialize(e.meta) }), a.donut && !a.donutSolid && (y._node.style.strokeWidth = m.value + "px"), this.eventEmitter.emit("draw", { type: "slice", value: j.normalized.series[g], totalDataSum: i, index: g, meta: e.meta, series: e, group: k[g], element: y, path: w.clone(), center: n, radius: f, startAngle: l, endAngle: p }), a.showLabel) { var z; z = 1 === j.raw.series.length ? { x: n.x, y: n.y } : c.polarToCartesian(n.x, n.y, h, l + (p - l) / 2); var A; A = j.normalized.labels && !c.isFalseyButZero(j.normalized.labels[g]) ? j.normalized.labels[g] : j.normalized.series[g]; var B = a.labelInterpolationFnc(A, g); if (B || 0 === B) { var C = b.elem("text", { dx: z.x, dy: z.y, "text-anchor": d(n, z, a.labelDirection) }, a.classNames.label).text("" + B); this.eventEmitter.emit("draw", { type: "label", index: g, group: b, 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 f(a, b, d, e) { c.Pie["super"].constructor.call(this, a, b, g, c.extend({}, g, d), e) } var g = { 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: c.noop, labelDirection: "neutral", reverseData: !1, ignoreEmptyValues: !1 }; c.Pie = c.Base.extend({ constructor: f, createChart: e, determineAnchorPosition: d }) }(window, document, a), a
  });
  
  var i, l, selectedLine = null;
  
  /* Navigate to hash without browser history entry */
  var navigateToHash = function () {
      if (window.history !== undefined && window.history.replaceState !== undefined) {
          window.history.replaceState(undefined, undefined, this.getAttribute("href"));
      }
  };
  
  var hashLinks = document.getElementsByClassName('navigatetohash');
  for (i = 0, l = hashLinks.length; i < l; i++) {
      hashLinks[i].addEventListener('click', navigateToHash);
  }
  
  /* Switch test method */
  var switchTestMethod = function () {
      var method = this.getAttribute("value");
      console.log("Selected test method: " + method);
  
      var lines, i, l, coverageData, lineAnalysis, cells;
  
      lines = document.querySelectorAll('.lineAnalysis tr');
  
      for (i = 1, l = lines.length; i < l; i++) {
          coverageData = JSON.parse(lines[i].getAttribute('data-coverage').replace(/'/g, '"'));
          lineAnalysis = coverageData[method];
          cells = lines[i].querySelectorAll('td');
          if (lineAnalysis === undefined) {
              lineAnalysis = coverageData.AllTestMethods;
              if (lineAnalysis.LVS !== 'gray') {
                  cells[0].setAttribute('class', 'red');
                  cells[1].innerText = cells[1].textContent = '0';
                  cells[4].setAttribute('class', 'lightred');
              }
          } else {
              cells[0].setAttribute('class', lineAnalysis.LVS);
              cells[1].innerText = cells[1].textContent = lineAnalysis.VC;
              cells[4].setAttribute('class', 'light' + lineAnalysis.LVS);
          }
      }
  };
  
  var testMethods = document.getElementsByClassName('switchtestmethod');
  for (i = 0, l = testMethods.length; i < l; i++) {
      testMethods[i].addEventListener('change', switchTestMethod);
  }
  
  /* Highlight test method by line */
  var toggleLine = function () {
      if (selectedLine === this) {
          selectedLine = null;
      } else {
          selectedLine = null;
          unhighlightTestMethods();
          highlightTestMethods.call(this);
          selectedLine = this;
      }
      
  };
  var highlightTestMethods = function () {
      if (selectedLine !== null) {
          return;
      }
  
      var lineAnalysis;
      var coverageData = JSON.parse(this.getAttribute('data-coverage').replace(/'/g, '"'));
      var testMethods = document.getElementsByClassName('testmethod');
  
      for (i = 0, l = testMethods.length; i < l; i++) {
          lineAnalysis = coverageData[testMethods[i].id];
          if (lineAnalysis === undefined) {
              testMethods[i].className = testMethods[i].className.replace(/\s*light.+/g, "");
          } else {
              testMethods[i].className += ' light' + lineAnalysis.LVS;
          }
      }
  };
  var unhighlightTestMethods = function () {
      if (selectedLine !== null) {
          return;
      }
  
      var testMethods = document.getElementsByClassName('testmethod');
      for (i = 0, l = testMethods.length; i < l; i++) {
          testMethods[i].className = testMethods[i].className.replace(/\s*light.+/g, "");
      }
  };
  var coverableLines = document.getElementsByClassName('coverableline');
  for (i = 0, l = coverableLines.length; i < l; i++) {
      coverableLines[i].addEventListener('click', toggleLine);
      coverableLines[i].addEventListener('mouseenter', highlightTestMethods);
      coverableLines[i].addEventListener('mouseleave', unhighlightTestMethods);
  }
  
  /* History charts */
  var renderChart = function (chart) {
      // Remove current children (e.g. PNG placeholder)
      while (chart.firstChild) {
          chart.firstChild.remove();
      }
  
      var chartData = window[chart.getAttribute('data-data')];
      var options = {
          axisY: {
              type: undefined,
              onlyInteger: true
          },
          lineSmooth: false,
          low: 0,
          high: 100,
          scaleMinSpace: 20,
          onlyInteger: true,
          fullWidth: true
      };
      var lineChart = new Chartist.Line(chart, {
          labels: [],
          series: chartData.series
      }, options);
  
      /* Zoom */
      var zoomButtonDiv = document.createElement("div");
      zoomButtonDiv.className = "toggleZoom";
      var zoomButtonLink = document.createElement("a");
      zoomButtonLink.setAttribute("href", "");
      var zoomButtonText = document.createElement("i");
      zoomButtonText.className = "icon-search-plus";
  
      zoomButtonLink.appendChild(zoomButtonText);
      zoomButtonDiv.appendChild(zoomButtonLink);
  
      chart.appendChild(zoomButtonDiv);
  
      zoomButtonDiv.addEventListener('click', function (event) {
          event.preventDefault();
  
          if (options.axisY.type === undefined) {
              options.axisY.type = Chartist.AutoScaleAxis;
              zoomButtonText.className = "icon-search-minus";
          } else {
              options.axisY.type = undefined;
              zoomButtonText.className = "icon-search-plus";
          }
  
          lineChart.update(null, options);
      });
  
      var tooltip = document.createElement("div");
      tooltip.className = "tooltip";
  
      chart.appendChild(tooltip);
  
      /* Tooltips */
      var showToolTip = function () {
          var point = this;
          var index = [].slice.call(chart.getElementsByClassName('ct-point')).indexOf(point);
  
          tooltip.innerHTML = chartData.tooltips[index % chartData.tooltips.length];
          tooltip.style.display = 'block';
      };
  
      var moveToolTip = function (event) {
          var box = chart.getBoundingClientRect();
          var left = event.pageX - box.left - window.pageXOffset;
          var top = event.pageY - box.top - window.pageYOffset;
  
          left = left + 20;
          top = top - tooltip.offsetHeight / 2;
  
          if (left + tooltip.offsetWidth > box.width) {
              left -= tooltip.offsetWidth + 40;
          }
  
          if (top < 0) {
              top = 0;
          }
  
          if (top + tooltip.offsetHeight > box.height) {
              top = box.height - tooltip.offsetHeight;
          }
  
          tooltip.style.left = left + 'px';
          tooltip.style.top = top + 'px';
      };
  
      var hideToolTip = function () {
          tooltip.style.display = 'none';
      };
      chart.addEventListener('mousemove', moveToolTip);
  
      lineChart.on('created', function () {
          var chartPoints = chart.getElementsByClassName('ct-point');
          for (i = 0, l = chartPoints.length; i < l; i++) {
              chartPoints[i].addEventListener('mousemove', showToolTip);
              chartPoints[i].addEventListener('mouseout', hideToolTip);
          }
      });
  };
  
  var charts = document.getElementsByClassName('historychart');
  for (i = 0, l = charts.length; i < l; i++) {
      renderChart(charts[i]);
  }
  
  var assemblies = [
    {
      "name": "RecipeBlogApp",
      "classes": [
        { "name": "RecipeBlogApp.Controllers.HomeController", "rp": "RecipeBlogApp_HomeController.html", "cl": 85, "ucl": 13, "cal": 98, "tl": 191, "ct": "LineCoverage", "mc": "-", "cb": 7, "tb": 12, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Data.ApplicationDbContext", "rp": "RecipeBlogApp_ApplicationDbContext.html", "cl": 0, "ucl": 3, "cal": 3, "tl": 16, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Migrations.AddRequiredAnnotation", "rp": "RecipeBlogApp_AddRequiredAnnotation.html", "cl": 0, "ucl": 114, "cal": 114, "tl": 151, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Migrations.ApplicationDbContextModelSnapshot", "rp": "RecipeBlogApp_ApplicationDbContextModelSnapshot.html", "cl": 0, "ucl": 62, "cal": 62, "tl": 82, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Migrations.DBInit", "rp": "RecipeBlogApp_DBInit.html", "cl": 0, "ucl": 107, "cal": 107, "tl": 144, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Migrations.DBInit2", "rp": "RecipeBlogApp_DBInit2.html", "cl": 0, "ucl": 82, "cal": 82, "tl": 117, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Models.Binding.AddRecipeBindingModel", "rp": "RecipeBlogApp_AddRecipeBindingModel.html", "cl": 4, "ucl": 2, "cal": 6, "tl": 18, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Models.ErrorViewModel", "rp": "RecipeBlogApp_ErrorViewModel.html", "cl": 0, "ucl": 2, "cal": 2, "tl": 11, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Models.NoImagePlaceHolder", "rp": "RecipeBlogApp_NoImagePlaceHolder.html", "cl": 1, "ucl": 0, "cal": 1, "tl": 12, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Models.Recipe", "rp": "RecipeBlogApp_Recipe.html", "cl": 5, "ucl": 1, "cal": 6, "tl": 26, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Models.RecipeCard", "rp": "RecipeBlogApp_RecipeCard.html", "cl": 0, "ucl": 4, "cal": 4, "tl": 16, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Program", "rp": "RecipeBlogApp_Program.html", "cl": 0, "ucl": 8, "cal": 8, "tl": 26, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Repositories.RecipeCardRepository", "rp": "RecipeBlogApp_RecipeCardRepository.html", "cl": 0, "ucl": 3, "cal": 3, "tl": 17, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Repositories.RecipeRepository", "rp": "RecipeBlogApp_RecipeRepository.html", "cl": 0, "ucl": 3, "cal": 3, "tl": 18, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Repositories.Repository<T1, T2>", "rp": "RecipeBlogApp_Repository_2.html", "cl": 0, "ucl": 20, "cal": 20, "tl": 46, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Repositories.RepositoryWrapper", "rp": "RecipeBlogApp_RepositoryWrapper.html", "cl": 0, "ucl": 21, "cal": 21, "tl": 51, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 4, "lch": [], "bch": [], "hc": [] },
        { "name": "RecipeBlogApp.Startup", "rp": "RecipeBlogApp_Startup.html", "cl": 0, "ucl": 33, "cal": 33, "tl": 66, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 2, "lch": [], "bch": [], "hc": [] },
      ]},
    {
      "name": "RecipeBlogApp.Views",
      "classes": [
        { "name": "AspNetCore.Views__ViewStart", "rp": "RecipeBlogApp.Views_Views__ViewStart.html", "cl": 0, "ucl": 1, "cal": 1, "tl": 3, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "AspNetCore.Views_Home_About", "rp": "RecipeBlogApp.Views_Views_Home_About.html", "cl": 0, "ucl": 2, "cal": 2, "tl": 6, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 0, "lch": [], "bch": [], "hc": [] },
        { "name": "AspNetCore.Views_Home_CreateRecipe", "rp": "RecipeBlogApp.Views_Views_Home_CreateRecipe.html", "cl": 0, "ucl": 17, "cal": 17, "tl": 57, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 34, "lch": [], "bch": [], "hc": [] },
        { "name": "AspNetCore.Views_Home_Details", "rp": "RecipeBlogApp.Views_Views_Home_Details.html", "cl": 0, "ucl": 7, "cal": 7, "tl": 29, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 2, "lch": [], "bch": [], "hc": [] },
        { "name": "AspNetCore.Views_Home_Index", "rp": "RecipeBlogApp.Views_Views_Home_Index.html", "cl": 0, "ucl": 7, "cal": 7, "tl": 20, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 4, "lch": [], "bch": [], "hc": [] },
        { "name": "AspNetCore.Views_Home_Update", "rp": "RecipeBlogApp.Views_Views_Home_Update.html", "cl": 0, "ucl": 18, "cal": 18, "tl": 49, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 34, "lch": [], "bch": [], "hc": [] },
        { "name": "AspNetCore.Views_Shared__Layout", "rp": "RecipeBlogApp.Views_Views_Shared__Layout.html", "cl": 0, "ucl": 4, "cal": 4, "tl": 48, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 18, "lch": [], "bch": [], "hc": [] },
        { "name": "AspNetCore.Views_Shared_Error", "rp": "RecipeBlogApp.Views_Views_Shared_Error.html", "cl": 0, "ucl": 5, "cal": 5, "tl": 25, "ct": "LineCoverage", "mc": "-", "cb": 0, "tb": 2, "lch": [], "bch": [], "hc": [] },
      ]},
  ];
  
  var historicCoverageExecutionTimes = [];
  
  var riskHotspotMetrics = [
  ];
  
  var riskHotspots = [
  ];
  
  var branchCoverageAvailable = true;
  
  
  var translations = {
  'top': 'Top:',
  'all': 'All',
  'assembly': 'Assembly',
  'class': 'Class',
  'method': 'Method',
  'lineCoverage': 'LineCoverage',
  'noGrouping': 'No grouping',
  'byAssembly': 'By assembly',
  'byNamespace': 'By namespace, Level:',
  'all': 'All',
  'collapseAll': 'Collapse all',
  'expandAll': 'Expand all',
  'grouping': 'Grouping:',
  'filter': 'Filter:',
  'name': 'Name',
  'covered': 'Covered',
  'uncovered': 'Uncovered',
  'coverable': 'Coverable',
  'total': 'Total',
  'coverage': 'Line coverage',
  'branchCoverage': 'Branch coverage',
  'history': 'Coverage History',
  'compareHistory': 'Compare with:',
  'date': 'Date',
  'allChanges': 'All changes',
  'lineCoverageIncreaseOnly': 'Line coverage: Increase only',
  'lineCoverageDecreaseOnly': 'Line coverage: Decrease only',
  'branchCoverageIncreaseOnly': 'Branch coverage: Increase only',
  'branchCoverageDecreaseOnly': 'Branch coverage: Decrease only'
  };
  
  
  !function(e){function r(r){for(var n,l,f=r[0],i=r[1],p=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(a&&a(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++)0!==o[t[f]]&&(n=!1);n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={0:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,(function(r){return e[r]}).bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="";var f=window.webpackJsonp=window.webpackJsonp||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var p=0;p<f.length;p++)r(f[p]);var a=i;t()}([]);
  (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";n.r(t),n("pDpN")},pDpN:function(e,t,n){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function s(e){return r+e}const a=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class i{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==O.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 e=i.current;for(;e.parent;)e=e.parent;return e}static get current(){return z.zone}static get currentTask(){return j}static __load_patch(t,r,s=!1){if(O.hasOwnProperty(t)){if(!s&&a)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const s="Zone:"+t;n(s),O[t]=r(e,i,C),o(s,s)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){z={parent:z,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{z=z.parent}}runGuarded(e,t=null,n,o){z={parent:z,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{z=z.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===P||e.type===D))return;const o=e.state!=E;o&&e._transitionTo(E,b),e.runCount++;const r=j;j=e,z={parent:z,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==v&&e.state!==Z&&(e.type==P||e.data&&e.data.isPeriodic?o&&e._transitionTo(b,E):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,E,v))),z=z.parent,j=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(T,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(Z,T,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==T&&e._transitionTo(b,T),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(P,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(w,b,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(Z,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;o<n.length;o++)n[o]._updateTaskCount(e.type,t)}}i.__symbol__=s;const c={name:"",onHasTask:(e,t,n,o)=>e.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new i(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");k(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,s,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=a,!o)throw new Error("callback is not defined");this.callback=o;const i=this;this.invoke=t===P&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,i,this,arguments)}}static invokeTask(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,T)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==v&&(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 h=s("setTimeout"),p=s("Promise"),f=s("then");let d,g=[],_=!1;function k(t){if(0===I&&0===g.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,m)}else e[h](m,0);t&&g.push(t)}function m(){if(!_){for(_=!0;g.length;){const t=g;g=[];for(let n=0;n<t.length;n++){const o=t[n];try{o.zone.runTask(o,null,null)}catch(e){C.onUnhandledError(e)}}}C.microtaskDrainDone(),_=!1}}const y={name:"NO ZONE"},v="notScheduled",T="scheduling",b="scheduled",E="running",w="canceling",Z="unknown",S="microTask",D="macroTask",P="eventTask",O={},C={symbol:s,currentZoneFrame:()=>z,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:k,showUncaughtError:()=>!i[s("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let z={parent:null,zone:new i(null,null)},j=null,I=0;function R(){}o("Zone","Zone"),e.Zone=i}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=Object.getPrototypeOf,a=Object.create,i=Array.prototype.slice,c="addEventListener",l="removeEventListener",u=Zone.__symbol__(c),h=Zone.__symbol__(l),p="true",f="false",d=Zone.__symbol__("");function g(e,t){return Zone.current.wrap(e,t)}function _(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const k=Zone.__symbol__,m="undefined"!=typeof window,y=m?window:void 0,v=m&&y||"object"==typeof self&&self||global,T=[null];function b(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=g(e[n],t+"_"+n));return e}function E(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const w="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Z=!("nw"in v)&&void 0!==v.process&&"[object process]"==={}.toString.call(v.process),S=!Z&&!w&&!(!m||!y.HTMLElement),D=void 0!==v.process&&"[object process]"==={}.toString.call(v.process)&&!w&&!(!m||!y.HTMLElement),P={},O=function(e){if(!(e=e||v.event))return;let t=P[e.type];t||(t=P[e.type]=k("ON_PROPERTY"+e.type));const n=this||e.target||v,o=n[t];let r;if(S&&n===y&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function C(e,t,n){let s=o(e,t);if(!s&&n&&o(n,t)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const a=k("on"+t+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete s.writable,delete s.value;const i=s.get,c=s.set,l=t.substr(2);let u=P[l];u||(u=P[l]=k("ON_PROPERTY"+l)),s.set=function(t){let n=this;n||e!==v||(n=v),n&&(n[u]&&n.removeEventListener(l,O),c&&c.apply(n,T),"function"==typeof t?(n[u]=t,n.addEventListener(l,O,!1)):n[u]=null)},s.get=function(){let n=this;if(n||e!==v||(n=v),!n)return null;const o=n[u];if(o)return o;if(i){let e=i&&i.call(this);if(e)return s.set.call(this,e),"function"==typeof n.removeAttribute&&n.removeAttribute(t),e}return null},r(e,t,s),e[a]=!0}function z(e,t,n){if(t)for(let o=0;o<t.length;o++)C(e,"on"+t[o],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let o=0;o<t.length;o++)C(e,t[o],n)}}const j=k("originalInstance");function I(e){const t=v[e];if(!t)return;v[k(e)]=t,v[e]=function(){const n=b(arguments,e);switch(n.length){case 0:this[j]=new t;break;case 1:this[j]=new t(n[0]);break;case 2:this[j]=new t(n[0],n[1]);break;case 3:this[j]=new t(n[0],n[1],n[2]);break;case 4:this[j]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},N(v[e],t);const n=new t(function(){});let o;for(o in n)"XMLHttpRequest"===e&&"responseBlob"===o||function(t){"function"==typeof n[t]?v[e].prototype[t]=function(){return this[j][t].apply(this[j],arguments)}:r(v[e].prototype,t,{set:function(n){"function"==typeof n?(this[j][t]=g(n,e+"."+t),N(this[j][t],n)):this[j][t]=n},get:function(){return this[j][t]}})}(o);for(o in t)"prototype"!==o&&t.hasOwnProperty(o)&&(v[e][o]=t[o])}function R(e,t,n){let r=e;for(;r&&!r.hasOwnProperty(t);)r=s(r);!r&&e[t]&&(r=e);const a=k(t);let i=null;if(r&&(!(i=r[a])||!r.hasOwnProperty(a))&&(i=r[a]=r[t],E(r&&o(r,t)))){const e=n(i,a,t);r[t]=function(){return e(this,arguments)},N(r[t],i)}return i}function M(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=R(e,t,e=>function(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?_(s.name,o[s.cbIdx],s,r):e.apply(t,o)})}function N(e,t){e[k("OriginalDelegate")]=t}let x=!1,L=!1;function A(){try{const e=y.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function H(){if(x)return L;x=!0;try{const e=y.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(L=!0)}catch(e){}return L}Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,a=[],i=!0===e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=s("Promise"),l=s("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;a.length;){const t=a.shift();try{t.zone.runGuarded(()=>{if(t.throwOriginal)throw t.rejection;throw t})}catch(e){h(e)}}};const u=s("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return C.reject(e)}const g=s("state"),_=s("value"),k=s("finally"),m=s("parentPromiseValue"),y=s("parentPromiseState"),v=null,T=!0,b=!1;function E(e,t){return n=>{try{Z(e,t,n)}catch(o){Z(e,!1,o)}}}const w=s("currentTaskTrace");function Z(e,o,s){const c=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===s)throw new TypeError("Promise resolved with itself");if(e[g]===v){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return c(()=>{Z(e,!1,u)})(),e}if(o!==b&&s instanceof C&&s.hasOwnProperty(g)&&s.hasOwnProperty(_)&&s[g]!==v)D(s),Z(e,s[g],s[_]);else if(o!==b&&"function"==typeof h)try{h.call(s,c(E(e,o)),c(E(e,!1)))}catch(u){c(()=>{Z(e,!1,u)})()}else{e[g]=o;const c=e[_];if(e[_]=s,e[k]===k&&o===T&&(e[g]=e[y],e[_]=e[m]),o===b&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(s,w,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<c.length;)P(e,c[t++],c[t++],c[t++],c[t++]);if(0==c.length&&o==b){e[g]=0;let o=s;try{throw new Error("Uncaught (in promise): "+((l=s)&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l))+(s&&s.stack?"\n"+s.stack:""))}catch(u){o=u}i&&(o.throwOriginal=!0),o.rejection=s,o.promise=e,o.zone=t.current,o.task=t.currentTask,a.push(o),n.scheduleMicroTask()}}}var l;return e}const S=s("rejectionHandledHandler");function D(e){if(0===e[g]){try{const n=t[S];n&&"function"==typeof n&&n.call(this,{rejection:e[_],promise:e})}catch(n){}e[g]=b;for(let t=0;t<a.length;t++)e===a[t].promise&&a.splice(t,1)}}function P(e,t,n,o,r){D(e);const s=e[g],a=s?"function"==typeof o?o:f:"function"==typeof r?r:d;t.scheduleMicroTask("Promise.then",()=>{try{const o=e[_],r=!!n&&k===n[k];r&&(n[m]=o,n[y]=s);const i=t.run(a,void 0,r&&a!==d&&a!==f?[]:[o]);Z(n,!0,i)}catch(o){Z(n,!1,o)}},n)}const O=function(){};class C{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return Z(new this(null),T,e)}static reject(e){return Z(new this(null),b,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let a of e)p(a)||(a=this.resolve(a)),a.then(r,s);return o}static all(e){return C.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof C?this:C).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),s=2,a=0;const i=[];for(let l of e){p(l)||(l=this.resolve(l));const e=a;try{l.then(o=>{i[e]=t?t.thenCallback(o):o,s--,0===s&&n(i)},r=>{t?(i[e]=t.errorCallback(r),s--,0===s&&n(i)):o(r)})}catch(c){o(c)}s++,a++}return s-=2,0===s&&n(i),r}constructor(e){const t=this;if(!(t instanceof C))throw new Error("Must be an instanceof Promise.");t[g]=v,t[_]=[];try{e&&e(E(t,T),E(t,b))}catch(n){Z(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return C}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||C);const r=new o(O),s=t.current;return this[g]==v?this[_].push(s,r,e,n):P(this,s,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=C);const o=new n(O);o[k]=k;const r=t.current;return this[g]==v?this[_].push(r,o,e,e):P(this,r,o,e,e),o}}C.resolve=C.resolve,C.reject=C.reject,C.race=C.race,C.all=C.all;const z=e[c]=e.Promise;e.Promise=C;const j=s("thenPatched");function I(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[l]=r,e.prototype.then=function(e,t){return new C((e,t)=>{r.call(this,e,t)}).then(e,t)},e[j]=!0}return n.patchThen=I,z&&(I(z),R(e,"fetch",e=>{return t=e,function(e,n){let o=t.apply(e,n);if(o instanceof C)return o;let r=o.constructor;return r[j]||I(r),o};var t})),Promise[t.__symbol__("uncaughtPromiseErrors")]=a,C}),Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=k("OriginalDelegate"),o=k("Promise"),r=k("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const a=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":a.call(this)}});let F=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){F=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(de){F=!1}const q={useG:!0},G={},B={},W=new RegExp("^"+d+"(\\w+)(true|false)$"),U=k("propagationStopped");function V(e,t){const n=(t?t(e):e)+f,o=(t?t(e):e)+p,r=d+n,s=d+o;G[e]={},G[e].false=r,G[e].true=s}function $(e,t,n){const o=n&&n.add||c,r=n&&n.rm||l,a=n&&n.listeners||"eventListeners",i=n&&n.rmAll||"removeAllListeners",u=k(o),h="."+o+":",g=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const s=e.options;s&&"object"==typeof s&&s.once&&t[r].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,s)},_=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[G[t.type].false];if(o)if(1===o.length)g(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[U]);o++)g(e[o],n,t)}},m=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[G[t.type].true];if(o)if(1===o.length)g(o[0],n,t);else{const e=o.slice();for(let o=0;o<e.length&&(!t||!0!==t[U]);o++)g(e[o],n,t)}};function y(t,n){if(!t)return!1;let c=!0;n&&void 0!==n.useG&&(c=n.useG);const l=n&&n.vh;let g=!0;n&&void 0!==n.chkDup&&(g=n.chkDup);let y=!1;n&&void 0!==n.rt&&(y=n.rt);let v=t;for(;v&&!v.hasOwnProperty(o);)v=s(v);if(!v&&t[o]&&(v=t),!v)return!1;if(v[u])return!1;const T=n&&n.eventNameToString,b={},E=v[u]=v[o],w=v[k(r)]=v[r],S=v[k(a)]=v[a],D=v[k(i)]=v[i];let P;function O(e,t){return!F&&"object"==typeof e&&e?!!e.capture:F&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}n&&n.prepend&&(P=v[k(n.prepend)]=v[n.prepend]);const C=c?function(e){if(!b.isExisting)return E.call(b.target,b.eventName,b.capture?m:_,b.options)}:function(e){return E.call(b.target,b.eventName,e.invoke,b.options)},z=c?function(e){if(!e.isRemoved){const t=G[e.eventName];let n;t&&(n=t[e.capture?p:f]);const o=n&&e.target[n];if(o)for(let r=0;r<o.length;r++)if(o[r]===e){o.splice(r,1),e.isRemoved=!0,0===o.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return w.call(e.target,e.eventName,e.capture?m:_,e.options)}:function(e){return w.call(e.target,e.eventName,e.invoke,e.options)},j=n&&n.diff?n.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},I=Zone[k("UNPATCHED_EVENTS")],R=e[k("PASSIVE_EVENTS")],M=function(t,o,r,s,a=!1,i=!1){return function(){const u=this||e;let h=arguments[0];n&&n.transferEventName&&(h=n.transferEventName(h));let d=arguments[1];if(!d)return t.apply(this,arguments);if(Z&&"uncaughtException"===h)return t.apply(this,arguments);let _=!1;if("function"!=typeof d){if(!d.handleEvent)return t.apply(this,arguments);_=!0}if(l&&!l(t,d,u,arguments))return;const k=F&&!!R&&-1!==R.indexOf(h),m=O(arguments[2],k);if(I)for(let e=0;e<I.length;e++)if(h===I[e])return k?t.call(u,h,d,m):t.apply(this,arguments);const y=!!m&&("boolean"==typeof m||m.capture),v=!(!m||"object"!=typeof m)&&m.once,E=Zone.current;let w=G[h];w||(V(h,T),w=G[h]);const S=w[y?p:f];let D,P=u[S],C=!1;if(P){if(C=!0,g)for(let e=0;e<P.length;e++)if(j(P[e],d))return}else P=u[S]=[];const z=u.constructor.name,M=B[z];M&&(D=M[h]),D||(D=z+o+(T?T(h):h)),b.options=m,v&&(b.options.once=!1),b.target=u,b.capture=y,b.eventName=h,b.isExisting=C;const N=c?q:void 0;N&&(N.taskData=b);const x=E.scheduleEventTask(D,d,N,r,s);return b.target=null,N&&(N.taskData=null),v&&(m.once=!0),(F||"boolean"!=typeof x.options)&&(x.options=m),x.target=u,x.capture=y,x.eventName=h,_&&(x.originalDelegate=d),i?P.unshift(x):P.push(x),a?u:void 0}};return v[o]=M(E,h,C,z,y),P&&(v.prependListener=M(P,".prependListener:",function(e){return P.call(b.target,b.eventName,e.invoke,b.options)},z,y,!0)),v[r]=function(){const t=this||e;let o=arguments[0];n&&n.transferEventName&&(o=n.transferEventName(o));const r=arguments[2],s=!!r&&("boolean"==typeof r||r.capture),a=arguments[1];if(!a)return w.apply(this,arguments);if(l&&!l(w,a,t,arguments))return;const i=G[o];let c;i&&(c=i[s?p:f]);const u=c&&t[c];if(u)for(let e=0;e<u.length;e++){const n=u[e];if(j(n,a))return u.splice(e,1),n.isRemoved=!0,0===u.length&&(n.allRemoved=!0,t[c]=null,"string"==typeof o)&&(t[d+"ON_PROPERTY"+o]=null),n.zone.cancelTask(n),y?t:void 0}return w.apply(this,arguments)},v[a]=function(){const t=this||e;let o=arguments[0];n&&n.transferEventName&&(o=n.transferEventName(o));const r=[],s=X(t,T?T(o):o);for(let e=0;e<s.length;e++){const t=s[e];r.push(t.originalDelegate?t.originalDelegate:t.callback)}return r},v[i]=function(){const t=this||e;let o=arguments[0];if(o){n&&n.transferEventName&&(o=n.transferEventName(o));const e=G[o];if(e){const n=t[e.false],s=t[e.true];if(n){const e=n.slice();for(let t=0;t<e.length;t++){const n=e[t];this[r].call(this,o,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}if(s){const e=s.slice();for(let t=0;t<e.length;t++){const n=e[t];this[r].call(this,o,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=W.exec(e[t]);let o=n&&n[1];o&&"removeListener"!==o&&this[i].call(this,o)}this[i].call(this,"removeListener")}if(y)return this},N(v[o],E),N(v[r],w),D&&N(v[i],D),S&&N(v[a],S),!0}let v=[];for(let s=0;s<t.length;s++)v[s]=y(t[s],n);return v}function X(e,t){if(!t){const n=[];for(let o in e){const r=W.exec(o);let s=r&&r[1];if(s&&(!t||s===t)){const t=e[o];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=G[t];n||(V(t),n=G[t]);const o=e[n.false],r=e[n.true];return o?r?o.concat(r):o.slice():r?r.slice():[]}function J(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[U]=!0,e&&e.apply(t,n)})}function Y(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const a=t[s]=t[o];t[o]=function(s,i,c){return i&&i.prototype&&r.forEach(function(t){const r=`${n}.${o}::`+t,s=i.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(i.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}),a.call(t,s,i,c)},e.attachOriginToPatched(t[o],a)}const K=["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"],Q=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ee=["load"],te=["blur","error","focus","load","resize","scroll","messageerror"],ne=["bounce","finish","start"],oe=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],re=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],se=["close","error","open","message"],ae=["error","message"],ie=["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"],K,["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 ce(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function le(e,t,n,o){e&&z(e,ce(e,t,n),o)}function ue(e,t){if(Z&&!D)return;if(Zone[e.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(S){const e=window,t=A()?[{target:e,ignoreProperties:["error"]}]:[];le(e,ie.concat(["messageerror"]),o?o.concat(t):o,s(e)),le(Document.prototype,ie,o),void 0!==e.SVGElement&&le(e.SVGElement.prototype,ie,o),le(Element.prototype,ie,o),le(HTMLElement.prototype,ie,o),le(HTMLMediaElement.prototype,Q,o),le(HTMLFrameSetElement.prototype,K.concat(te),o),le(HTMLBodyElement.prototype,K.concat(te),o),le(HTMLFrameElement.prototype,ee,o),le(HTMLIFrameElement.prototype,ee,o);const n=e.HTMLMarqueeElement;n&&le(n.prototype,ne,o);const r=e.Worker;r&&le(r.prototype,ae,o)}const r=t.XMLHttpRequest;r&&le(r.prototype,oe,o);const a=t.XMLHttpRequestEventTarget;a&&le(a&&a.prototype,oe,o),"undefined"!=typeof IDBIndex&&(le(IDBIndex.prototype,re,o),le(IDBRequest.prototype,re,o),le(IDBOpenDBRequest.prototype,re,o),le(IDBDatabase.prototype,re,o),le(IDBTransaction.prototype,re,o),le(IDBCursor.prototype,re,o)),n&&le(WebSocket.prototype,se,o)}Zone.__load_patch("util",(e,t,n)=>{n.patchOnProperties=z,n.patchMethod=R,n.bindArguments=b,n.patchMacroTask=M;const s=t.__symbol__("BLACK_LISTED_EVENTS"),u=t.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[s]=e[u]),e[s]&&(t[s]=t[u]=e[s]),n.patchEventPrototype=J,n.patchEventTarget=$,n.isIEOrEdge=H,n.ObjectDefineProperty=r,n.ObjectGetOwnPropertyDescriptor=o,n.ObjectCreate=a,n.ArraySlice=i,n.patchClass=I,n.wrapWithCurrentZone=g,n.filterProperties=ce,n.attachOriginToPatched=N,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Y,n.getGlobalObjects=()=>({globalSources:B,zoneSymbolEventNames:G,eventNames:ie,isBrowser:S,isMix:D,isNode:Z,TRUE_STR:p,FALSE_STR:f,ZONE_SYMBOL_PREFIX:d,ADD_EVENT_LISTENER_STR:c,REMOVE_EVENT_LISTENER_STR:l})});const he=k("zoneTask");function pe(e,t,n,o){let r=null,s=null;n+=o;const a={};function i(t){const n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=r.apply(e,n.args),t}function c(t){return s.call(e,t.data.handleId)}r=R(e,t+=o,n=>function(r,s){if("function"==typeof s[0]){const e={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},n=s[0];s[0]=function(){try{return n.apply(this,arguments)}finally{e.isPeriodic||("number"==typeof e.handleId?delete a[e.handleId]:e.handleId&&(e.handleId[he]=null))}};const r=_(t,s[0],e,i,c);if(!r)return r;const l=r.data.handleId;return"number"==typeof l?a[l]=r:l&&(l[he]=r),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(r.ref=l.ref.bind(l),r.unref=l.unref.bind(l)),"number"==typeof l||l?l:r}return n.apply(e,s)}),s=R(e,n,t=>function(n,o){const r=o[0];let s;"number"==typeof r?s=a[r]:(s=r&&r[he],s||(s=r)),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete a[r]:r&&(r[he]=null),s.zone.cancelTask(s)):t.apply(e,o)})}function fe(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:a}=t.getGlobalObjects();for(let c=0;c<n.length;c++){const e=n[c],t=a+(e+s),i=a+(e+r);o[e]={},o[e][s]=t,o[e][r]=i}const i=e.EventTarget;return i&&i.prototype?(t.patchEventTarget(e,[i&&i.prototype]),!0):void 0}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",(e,t,n)=>{n.patchMethod(e,"queueMicrotask",e=>function(e,n){t.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",e=>{const t="set",n="clear";pe(e,t,n,"Timeout"),pe(e,t,n,"Interval"),pe(e,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o<n.length;o++)R(e,n[o],(n,o,r)=>function(o,s){return t.current.run(n,e,s,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),fe(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,t,n)=>{I("MutationObserver"),I("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,t,n)=>{I("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,t,n)=>{I("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ue(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const c=e.XMLHttpRequest;if(!c)return;const l=c.prototype;let p=l[u],f=l[h];if(!p){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;p=e[u],f=e[h]}}const d="readystatechange",g="scheduled";function m(e){const o=e.data,a=o.target;a[s]=!1,a[i]=!1;const c=a[r];p||(p=a[u],f=a[h]),c&&f.call(a,d,c);const l=a[r]=()=>{if(a.readyState===a.DONE)if(!o.aborted&&a[s]&&e.state===g){const n=a[t.__symbol__("loadfalse")];if(0!==a.status&&n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=a[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);o.aborted||e.state!==g||r.call(e)},n.push(e)}else e.invoke()}else o.aborted||!1!==a[s]||(a[i]=!0)};return p.call(a,d,l),a[n]||(a[n]=e),w.apply(a,o.args),a[s]=!0,e}function y(){}function v(e){const t=e.data;return t.aborted=!0,Z.apply(t.target,t.args)}const T=R(l,"open",()=>function(e,t){return e[o]=0==t[2],e[a]=t[1],T.apply(e,t)}),b=k("fetchTaskAborting"),E=k("fetchTaskScheduling"),w=R(l,"send",()=>function(e,n){if(!0===t.current[E])return w.apply(e,n);if(e[o])return w.apply(e,n);{const t={target:e,url:e[a],isPeriodic:!1,args:n,aborted:!1},o=_("XMLHttpRequest.send",y,t,m,v);e&&!0===e[i]&&!t.aborted&&o.state===g&&o.invoke()}}),Z=R(l,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[b])return Z.apply(e,o)})}(e);const n=k("xhrTask"),o=k("xhrSync"),r=k("xhrListener"),s=k("xhrScheduled"),a=k("xhrURL"),i=k("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){const n=e.constructor.name;for(let r=0;r<t.length;r++){const s=t[r],a=e[s];if(a){if(!E(o(e,s)))continue;e[s]=(e=>{const t=function(){return e.apply(this,b(arguments,n+"."+s))};return N(t,e),t})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){X(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[k("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[k("rejectionHandledHandler")]=n("rejectionhandled"))})}},[[1,0]]]);
  
  (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function s(t){return"function"==typeof t}n.r(e);let r=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}};function o(t){setTimeout(()=>{throw t},0)}const l={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},a=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(s(i)){r&&(this._unsubscribe=void 0);try{i.call(this)}catch(l){e=l instanceof u?d(l.errors):[l]}}if(a(o)){let t=-1,n=o.length;for(;++t<n;){const n=o[t];if(c(n))try{n.unsubscribe()}catch(l){e=e||[],l instanceof u?e=e.concat(d(l.errors)):e.push(l)}}}if(e)throw new u(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:s}=n;if(null===s)n._parentOrParents=this;else if(s instanceof t){if(s===this)return n;n._parentOrParents=[s,this]}else{if(-1!==s.indexOf(this))return n;s.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!t){this.destination=l;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[f](){return this}static create(t,e,n){const s=new p(t,e,n);return s.syncErrorThrowable=!1,s}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends p{constructor(t,e,n,r){let i;super(),this._parentSubscriber=t;let o=this;s(e)?i=e:e&&(i=e.next,n=e.error,r=e.complete,e!==l&&(o=Object.create(e),s(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(s){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):(o(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const _=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}let v=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:s}=this,r=function(t,e,n){if(t){if(t instanceof p)return t;if(t[f])return t[f]()}return t||e||n?new p(t,e,n):new p(l)}(t,e,n);if(r.add(s?s.call(r,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),i.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof p?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=m(e))((e,n)=>{let s;s=this.subscribe(e=>{try{t(e)}catch(r){n(r),s&&s.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[_](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=m(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function m(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class C extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class w extends p{constructor(t){super(t),this.destination=t}}let E=(()=>{class t extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new w(this)}lift(t){const e=new x(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,s=e.slice();for(let r=0;r<n;r++)s[r].next(t)}}error(t){if(this.closed)throw new b;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,s=e.slice();for(let r=0;r<n;r++)s[r].error(t);this.observers.length=0}complete(){if(this.closed)throw new b;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let s=0;s<e;s++)n[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new b;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new b;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new C(this,t))}asObservable(){const t=new v;return t.source=this,t}}return t.create=(t,e)=>new x(t,e),t})();class x extends E{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function k(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new A(t,e))}}class A{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new O(t,this.project,this.thisArg))}}class O extends p{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const I=t=>e=>{for(let n=0,s=t.length;n<s&&!e.closed;n++)e.next(t[n]);e.complete()};function S(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const T=S(),V=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function D(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const H=t=>{if(t&&"function"==typeof t[_])return s=t,t=>{const e=s[_]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(V(t))return I(t);if(D(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[T])return e=t,t=>{const n=e[T]();for(;;){let e;try{e=n.next()}catch(s){return t.error(s),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,s};function N(t,e){return new v(n=>{const s=new h;let r=0;return s.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||s.add(this.schedule())):n.complete()})),s})}function M(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[_]}(t))return function(t,e){return new v(n=>{const s=new h;return s.add(e.schedule(()=>{const r=t[_]();s.add(r.subscribe({next(t){s.add(e.schedule(()=>n.next(t)))},error(t){s.add(e.schedule(()=>n.error(t)))},complete(){s.add(e.schedule(()=>n.complete()))}}))})),s})}(t,e);if(D(t))return function(t,e){return new v(n=>{const s=new h;return s.add(e.schedule(()=>t.then(t=>{s.add(e.schedule(()=>{n.next(t),s.add(e.schedule(()=>n.complete()))}))},t=>{s.add(e.schedule(()=>n.error(t)))}))),s})}(t,e);if(V(t))return N(t,e);if(function(t){return t&&"function"==typeof t[T]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new v(n=>{const s=new h;let r;return s.add(()=>{r&&"function"==typeof r.return&&r.return()}),s.add(e.schedule(()=>{r=t[T](),s.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(s){return void n.error(s)}e?n.complete():(n.next(t),this.schedule())}))})),s})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof v?t:new v(H(t))}class P extends p{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class R extends p{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function j(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(j((n,s)=>M(t(n,s)).pipe(k((t,r)=>e(n,t,s,r))),n)):("number"==typeof e&&(n=e),e=>e.lift(new z(t,n)))}class z{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new F(t,this.project,this.concurrent))}}class F extends R{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(s){return void this.destination.error(s)}this.active++,this._innerSub(e)}_innerSub(t){const e=new P(this),n=this.destination;n.add(e);const s=function(t,e){if(e.closed)return;if(t instanceof v)return t.subscribe(e);let n;try{n=H(t)(e)}catch(s){e.error(s)}return n}(t,e);s!==e&&n.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function L(...t){let e=Number.POSITIVE_INFINITY,n=null,s=t[t.length-1];var r;return(r=s)&&"function"==typeof r.schedule?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof s&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof v?t[0]:function(t=Number.POSITIVE_INFINITY){return j(y,t)}(e)(function(t,e){return e?N(t,e):new v(I(t))}(t,n))}function B(){return function(t){return t.lift(new $(t))}}class ${constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const s=new U(t,n),r=e.subscribe(s);return s.closed||(s.connection=n.connect()),r}}class U extends p{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,s=t._connection;this.connection=null,!s||n&&s!==n||s.unsubscribe()}}class Z extends v{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new W(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return B()(this)}}const q=(()=>{const t=Z.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class W extends w{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function G(){return new E}function Q(t){for(let e in t)if(t[e]===Q)return e;throw Error("Could not find renamed property on target object.")}function J(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function K(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(K).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Y(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const X=Q({__forward_ref__:Q});function tt(t){return t.__forward_ref__=tt,t.toString=function(){return K(this())},t}function et(t){return nt(t)?t():t}function nt(t){return"function"==typeof t&&t.hasOwnProperty(X)&&t.__forward_ref__===tt}class st extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function rt(t){return"string"==typeof t?t:null==t?"":String(t)}function it(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():rt(t)}function ot(t,e){const n=e?` in ${e}`:"";throw new st("201",`No provider for ${it(t)} found${n}`)}function lt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function at(t){return{providers:t.providers||[],imports:t.imports||[]}}function ct(t){return ut(t,dt)||ut(t,pt)}function ut(t,e){return t.hasOwnProperty(e)?t[e]:null}function ht(t){return t&&(t.hasOwnProperty(ft)||t.hasOwnProperty(gt))?t[ft]:null}const dt=Q({"\u0275prov":Q}),ft=Q({"\u0275inj":Q}),pt=Q({ngInjectableDef:Q}),gt=Q({ngInjectorDef:Q});var _t=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let yt;function vt(t){const e=yt;return yt=t,e}function mt(t,e,n){const s=ct(t);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:n&_t.Optional?null:void 0!==e?e:void ot(K(t),"Injector")}function bt(t){return{toString:t}.toString()}var Ct=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),wt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const Et="undefined"!=typeof globalThis&&globalThis,xt="undefined"!=typeof window&&window,kt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,At="undefined"!=typeof global&&global,Ot=Et||At||xt||kt,It={},St=[],Tt=[],Vt=Q({"\u0275cmp":Q}),Dt=Q({"\u0275dir":Q}),Ht=Q({"\u0275pipe":Q}),Nt=Q({"\u0275mod":Q}),Mt=Q({"\u0275loc":Q}),Pt=Q({"\u0275fac":Q}),Rt=Q({__NG_ELEMENT_ID__:Q});let jt=0;function zt(t){return bt(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Ct.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Tt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||wt.Emulated,id:"c",styles:t.styles||Tt,_:null,setInput:null,schemas:t.schemas||null,tView:null},s=t.directives,r=t.features,i=t.pipes;return n.id+=jt++,n.inputs=Ut(t.inputs,e),n.outputs=Ut(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=s?()=>("function"==typeof s?s():s).map(Ft):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(Lt):null,n})}function Ft(t){return Wt(t)||function(t){return t[Dt]||null}(t)}function Lt(t){return function(t){return t[Ht]||null}(t)}const Bt={};function $t(t){const e={type:t.type,bootstrap:t.bootstrap||Tt,declarations:t.declarations||Tt,imports:t.imports||Tt,exports:t.exports||Tt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&bt(()=>{Bt[t.id]=t.type}),e}function Ut(t,e){if(null==t)return It;const n={};for(const s in t)if(t.hasOwnProperty(s)){let r=t[s],i=r;Array.isArray(r)&&(i=r[1],r=r[0]),n[r]=s,e&&(e[r]=i)}return n}const Zt=zt;function qt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Wt(t){return t[Vt]||null}function Gt(t,e){const n=t[Nt]||null;if(!n&&!0===e)throw new Error(`Type ${K(t)} does not have '\u0275mod' property.`);return n}const Qt=20,Jt=10;function Kt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Yt(t){return Array.isArray(t)&&!0===t[1]}function Xt(t){return 0!=(8&t.flags)}function te(t){return 2==(2&t.flags)}function ee(t){return 1==(1&t.flags)}function ne(t){return null!==t.template}function se(t,e){return t.hasOwnProperty(Pt)?t[Pt]:null}class re{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ie(){return oe}function oe(t){return t.type.prototype.ngOnChanges&&(t.setInput=ae),le}function le(){const t=ce(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===It)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ae(t,e,n,s){const r=ce(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:It,current:null}),i=r.current||(r.current={}),o=r.previous,l=this.declaredInputs[n],a=o[l];i[l]=new re(a&&a.currentValue,e,o===It),t[s]=e}function ce(t){return t.__ngSimpleChanges__||null}ie.ngInherit=!0;const ue="http://www.w3.org/2000/svg";let he;function de(t){return!!t.listen}const fe={createRenderer:(t,e)=>void 0!==he?he:"undefined"!=typeof document?document:void 0};function pe(t){for(;Array.isArray(t);)t=t[0];return t}function ge(t,e){return pe(e[t])}function _e(t,e){return pe(e[t.index])}function ye(t,e){return t.data[e]}function ve(t,e){const n=e[t];return Kt(n)?n:n[0]}function me(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function be(t){return 128==(128&t[2])}function Ce(t,e){return null==e?null:t[e]}function we(t){t[18]=0}function Ee(t,e){t[5]+=e;let n=t,s=t[3];for(;null!==s&&(1===e&&1===n[5]||-1===e&&0===n[5]);)s[5]+=e,n=s,s=s[3]}const xe={lFrame:qe(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ke(){return xe.bindingsEnabled}function Ae(){return xe.lFrame.lView}function Oe(){return xe.lFrame.tView}function Ie(t){xe.lFrame.contextLView=t}function Se(){let t=Te();for(;null!==t&&64===t.type;)t=t.parent;return t}function Te(){return xe.lFrame.currentTNode}function Ve(t,e){const n=xe.lFrame;n.currentTNode=t,n.isParent=e}function De(){return xe.lFrame.isParent}function He(){xe.lFrame.isParent=!1}function Ne(){return xe.isInCheckNoChangesMode}function Me(t){xe.isInCheckNoChangesMode=t}function Pe(){const t=xe.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Re(){return xe.lFrame.bindingIndex++}function je(t){const e=xe.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ze(t,e){const n=xe.lFrame;n.bindingIndex=n.bindingRootIndex=t,Fe(e)}function Fe(t){xe.lFrame.currentDirectiveIndex=t}function Le(t){xe.lFrame.currentQueryIndex=t}function Be(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function $e(t,e,n){if(n&_t.SkipSelf){let s=e,r=t;for(;s=s.parent,!(null!==s||n&_t.Host||(s=Be(r),null===s)||(r=r[15],10&s.type)););if(null===s)return!1;e=s,t=r}const s=xe.lFrame=Ze();return s.currentTNode=e,s.lView=t,!0}function Ue(t){const e=Ze(),n=t[1];xe.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Ze(){const t=xe.lFrame,e=null===t?null:t.child;return null===e?qe(t):e}function qe(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function We(){const t=xe.lFrame;return xe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Ge=We;function Qe(){const t=We();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Je(){return xe.lFrame.selectedIndex}function Ke(t){xe.lFrame.selectedIndex=t}function Ye(){const t=xe.lFrame;return ye(t.tView,t.selectedIndex)}function Xe(t,e){for(let n=e.directiveStart,s=e.directiveEnd;n<s;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:r,ngAfterViewInit:i,ngAfterViewChecked:o,ngOnDestroy:l}=e;s&&(t.contentHooks||(t.contentHooks=[])).push(-n,s),r&&((t.contentHooks||(t.contentHooks=[])).push(n,r),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,r)),i&&(t.viewHooks||(t.viewHooks=[])).push(-n,i),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=l&&(t.destroyHooks||(t.destroyHooks=[])).push(n,l)}}function tn(t,e,n){sn(t,e,3,n)}function en(t,e,n,s){(3&t[2])===n&&sn(t,e,n,s)}function nn(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function sn(t,e,n,s){const r=null!=s?s:-1,i=e.length-1;let o=0;for(let l=void 0!==s?65535&t[18]:0;l<i;l++)if("number"==typeof e[l+1]){if(o=e[l],null!=s&&o>=s)break}else e[l]<0&&(t[18]+=65536),(o<r||-1==r)&&(rn(t,n,e,l),t[18]=(4294901760&t[18])+l+2),l++}function rn(t,e,n,s){const r=n[s]<0,i=n[s+1],o=t[r?-n[s]:n[s]];if(r){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{i.call(o)}finally{}}}else try{i.call(o)}finally{}}const on=-1;class ln{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function an(t,e,n){const s=de(t);let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],l=n[r++],a=n[r++];s?t.setAttribute(e,l,a,o):e.setAttributeNS(o,l,a)}else{const o=i,l=n[++r];cn(o)?s&&t.setProperty(e,o,l):s?t.setAttribute(e,o,l):e.setAttribute(o,l),r++}}return r}function cn(t){return 64===t.charCodeAt(0)}function un(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let s=0;s<e.length;s++){const r=e[s];"number"==typeof r?n=r:0===n||hn(t,n,r,null,-1===n||2===n?e[++s]:null)}}return t}function hn(t,e,n,s,r){let i=0,o=t.length;if(-1===e)o=-1;else for(;i<t.length;){const n=t[i++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=i-1;break}}}for(;i<t.length;){const e=t[i];if("number"==typeof e)break;if(e===n){if(null===s)return void(null!==r&&(t[i+1]=r));if(s===t[i+1])return void(t[i+2]=r)}i++,null!==s&&i++,null!==r&&i++}-1!==o&&(t.splice(o,0,e),i=o+1),t.splice(i++,0,n),null!==s&&t.splice(i++,0,s),null!==r&&t.splice(i++,0,r)}function dn(t){return t!==on}function fn(t){return 32767&t}function pn(t,e){let n=t>>16,s=e;for(;n>0;)s=s[15],n--;return s}let gn=!0;function _n(t){const e=gn;return gn=t,e}let yn=0;function vn(t,e){const n=bn(t,e);if(-1!==n)return n;const s=e[1];s.firstCreatePass&&(t.injectorIndex=e.length,mn(s.data,t),mn(e,null),mn(s.blueprint,null));const r=Cn(t,e),i=t.injectorIndex;if(dn(r)){const t=fn(r),n=pn(r,e),s=n[1].data;for(let r=0;r<8;r++)e[i+r]=n[t+r]|s[t+r]}return e[i+8]=r,i}function mn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function bn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Cn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,s=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(s=2===e?t.declTNode:1===e?r[6]:null,null===s)return on;if(n++,r=r[15],-1!==s.injectorIndex)return s.injectorIndex|n<<16}return on}function wn(t,e,n){!function(t,e,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(Rt)&&(s=n[Rt]),null==s&&(s=n[Rt]=yn++);const r=255&s;e.data[t+(r>>5)]|=1<<r}(t,e,n)}function En(t,e,n){if(n&_t.Optional)return t;ot(e,"NodeInjector")}function xn(t,e,n,s){if(n&_t.Optional&&void 0===s&&(s=null),0==(n&(_t.Self|_t.Host))){const r=t[9],i=vt(void 0);try{return r?r.get(e,s,n&_t.Optional):mt(e,s,n&_t.Optional)}finally{vt(i)}}return En(s,e,n)}function kn(t,e,n,s=_t.Default,r){if(null!==t){const i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Rt)?t[Rt]:void 0;return"number"==typeof e?e>=0?255&e:On:e}(n);if("function"==typeof i){if(!$e(e,t,s))return s&_t.Host?En(r,n,s):xn(e,n,s,r);try{const t=i();if(null!=t||s&_t.Optional)return t;ot(n)}finally{Ge()}}else if("number"==typeof i){let r=null,o=bn(t,e),l=on,a=s&_t.Host?e[16][6]:null;for((-1===o||s&_t.SkipSelf)&&(l=-1===o?Cn(t,e):e[o+8],l!==on&&Vn(s,!1)?(r=e[1],o=fn(l),e=pn(l,e)):o=-1);-1!==o;){const t=e[1];if(Tn(i,o,t.data)){const t=In(o,e,n,r,s,a);if(t!==An)return t}l=e[o+8],l!==on&&Vn(s,e[1].data[o+8]===a)&&Tn(i,o,e)?(r=t,o=fn(l),e=pn(l,e)):o=-1}}}return xn(e,n,s,r)}const An={};function On(){return new Dn(Se(),Ae())}function In(t,e,n,s,r,i){const o=e[1],l=o.data[t+8],a=function(t,e,n,s,r){const i=t.providerIndexes,o=e.data,l=1048575&i,a=t.directiveStart,c=i>>20,u=r?l+c:t.directiveEnd;for(let h=s?l:l+c;h<u;h++){const t=o[h];if(h<a&&n===t||h>=a&&t.type===n)return h}if(r){const t=o[a];if(t&&ne(t)&&t.type===n)return a}return null}(l,o,n,null==s?te(l)&&gn:s!=o&&0!=(3&l.type),r&_t.Host&&i===l);return null!==a?Sn(e,o,a,l):An}function Sn(t,e,n,s){let r=t[n];const i=e.data;if(r instanceof ln){const o=r;o.resolving&&function(t,e){throw new st("200",`Circular dependency in DI detected for ${t}`)}(it(i[n]));const l=_n(o.canSeeViewProviders);o.resolving=!0;const a=o.injectImpl?vt(o.injectImpl):null;$e(t,s,_t.Default);try{r=t[n]=o.factory(void 0,i,t,s),e.firstCreatePass&&n>=s.directiveStart&&function(t,e,n){const{ngOnChanges:s,ngOnInit:r,ngDoCheck:i}=e.type.prototype;if(s){const s=oe(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{null!==a&&vt(a),_n(l),o.resolving=!1,Ge()}}return r}function Tn(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Vn(t,e){return!(t&_t.Self||t&_t.Host&&e)}class Dn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return kn(this._tNode,this._lView,t,void 0,e)}}function Hn(t){return bt(()=>{const e=t.prototype.constructor,n=e[Pt]||Nn(e),s=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==s;){const t=r[Pt]||Nn(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function Nn(t){return nt(t)?()=>{const e=Nn(et(t));return e&&e()}:se(t)}const Mn="__parameters__";function Pn(t,e,n){return bt(()=>{const s=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return s.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,s){const r=t.hasOwnProperty(Mn)?t[Mn]:Object.defineProperty(t,Mn,{value:[]})[Mn];for(;r.length<=s;)r.push(null);return(r[s]=r[s]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class Rn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=lt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}function jn(t,e){t.forEach(t=>Array.isArray(t)?jn(t,e):e(t))}function zn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Fn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Ln(t,e,n){let s=$n(t,e);return s>=0?t[1|s]=n:(s=~s,function(t,e,n,s){let r=t.length;if(r==e)t.push(n,s);else if(1===r)t.push(s,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=s}}(t,s,e,n)),s}function Bn(t,e){const n=$n(t,e);if(n>=0)return t[1|n]}function $n(t,e){return function(t,e,n){let s=0,r=t.length>>1;for(;r!==s;){const n=s+(r-s>>1),i=t[n<<1];if(e===i)return n<<1;i>e?r=n:s=n+1}return~(r<<1)}(t,e)}const Un={},Zn=/\n/gm,qn="__source",Wn=Q({provide:String,useValue:Q});let Gn;function Qn(t){const e=Gn;return Gn=t,e}function Jn(t,e=_t.Default){if(void 0===Gn)throw new Error("inject() must be called from an injection context");return null===Gn?mt(t,void 0,e):Gn.get(t,e&_t.Optional?null:void 0,e)}function Kn(t,e=_t.Default){return(yt||Jn)(et(t),e)}function Yn(t){const e=[];for(let n=0;n<t.length;n++){const s=et(t[n]);if(Array.isArray(s)){if(0===s.length)throw new Error("Arguments array must have arguments.");let t,n=_t.Default;for(let e=0;e<s.length;e++){const r=s[e],i=r.__NG_DI_FLAG__;"number"==typeof i?-1===i?t=r.token:n|=i:t=r}e.push(Kn(t,n))}else e.push(Kn(s))}return e}function Xn(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const ts=Xn(Pn("Inject",t=>({token:t})),-1),es=Xn(Pn("Optional"),8),ns=Xn(Pn("SkipSelf"),4);class ss{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function rs(t){return t instanceof ss?t.changingThisBreaksApplicationSecurity:t}const is=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,os=/^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 ls=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function as(t){const e=function(){const t=Ae();return t&&t[12]}();return e?e.sanitize(ls.URL,t)||"":function(t,e){const n=function(t){return t instanceof ss&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}(t,"URL")?rs(t):(n=rt(t),(n=String(n)).match(is)||n.match(os)?n:"unsafe:"+n);var n}function cs(t){return t.ngDebugContext}function us(t){return t.ngOriginalError}function hs(t,...e){t.error(...e)}class ds{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),s=function(t){return t.ngErrorLogger||hs}(t);s(this._console,"ERROR",t),e&&s(this._console,"ORIGINAL ERROR",e),n&&s(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?cs(t)?cs(t):this._findContext(us(t)):null}_findOriginalError(t){let e=us(t);for(;e&&us(e);)e=us(e);return e}}function fs(t,e){t.__ngContext__=e}const ps=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ot))();function gs(t){return{name:"window",target:t.ownerDocument.defaultView}}function _s(t){return t instanceof Function?t():t}var ys=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function vs(t,e){return(void 0)(t,e)}function ms(t){const e=t[3];return Yt(e)?e[3]:e}function bs(t){return ws(t[13])}function Cs(t){return ws(t[4])}function ws(t){for(;null!==t&&!Yt(t);)t=t[4];return t}function Es(t,e,n,s,r){if(null!=s){let i,o=!1;Yt(s)?i=s:Kt(s)&&(o=!0,s=s[0]);const l=pe(s);0===t&&null!==n?null==r?Ts(e,n,l):Ss(e,n,l,r||null,!0):1===t&&null!==n?Ss(e,n,l,r||null,!0):2===t?function(t,e,n){const s=Ds(t,e);s&&function(t,e,n,s){de(t)?t.removeChild(e,n,s):e.removeChild(n)}(t,s,e,n)}(e,l,o):3===t&&e.destroyNode(l),null!=i&&function(t,e,n,s,r){const i=n[7];i!==pe(n)&&Es(e,t,s,i,r);for(let o=Jt;o<n.length;o++){const r=n[o];js(r[1],r,t,e,s,i)}}(e,t,i,n,r)}}function xs(t,e,n){return de(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function ks(t,e){const n=t[9],s=n.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,Ee(r,-1)),n.splice(s,1)}function As(t,e){if(t.length<=Jt)return;const n=Jt+e,s=t[n];if(s){const i=s[17];null!==i&&i!==t&&ks(i,s),e>0&&(t[n-1][4]=s[4]);const o=Fn(t,Jt+e);js(s[1],r=s,r[11],2,null,null),r[0]=null,r[6]=null;const l=o[19];null!==l&&l.detachView(o[1]),s[3]=null,s[4]=null,s[2]&=-129}var r;return s}function Os(t,e){if(!(256&e[2])){const n=e[11];de(n)&&n.destroyNode&&js(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Is(t[1],t);for(;e;){let n=null;if(Kt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Kt(e)&&Is(e[1],e),e=e[3];null===e&&(e=t),Kt(e)&&Is(e[1],e),n=e&&e[4]}e=n}}(e)}}function Is(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let s=0;s<n.length;s+=2){const t=e[n[s]];if(!(t instanceof ln)){const e=n[s+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup,s=e[7];let r=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const t=n[i+1],o="function"==typeof t?t(e):pe(e[t]),l=s[r=n[i+2]],a=n[i+3];"boolean"==typeof a?o.removeEventListener(n[i],l,a):a>=0?s[r=a]():s[r=-a].unsubscribe(),i+=2}else{const t=s[r=n[i+1]];n[i].call(t)}if(null!==s){for(let t=r+1;t<s.length;t++)(0,s[t])();e[7]=null}}(t,e),1===e[1].type&&de(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&Yt(e[3])){n!==e[3]&&ks(n,e);const s=e[19];null!==s&&s.detachView(t)}}}function Ss(t,e,n,s,r){de(t)?t.insertBefore(e,n,s,r):e.insertBefore(n,s,r)}function Ts(t,e,n){de(t)?t.appendChild(e,n):e.appendChild(n)}function Vs(t,e,n,s,r){null!==s?Ss(t,e,n,s,r):Ts(t,e,n)}function Ds(t,e){return de(t)?t.parentNode(e):e.parentNode}function Hs(t,e,n,s){const r=function(t,e,n){return function(t,e,n){let s=e;for(;null!==s&&40&s.type;)s=(e=s).parent;if(null===s)return n[0];if(2&s.flags){const e=t.data[s.directiveStart].encapsulation;if(e===wt.None||e===wt.Emulated)return null}return _e(s,n)}(t,e.parent,n)}(t,s,e),i=e[11],o=function(t,e,n){return function(t,e,n){return 40&t.type?_e(t,n):null}(t,0,n)}(s.parent||e[6],0,e);if(null!=r)if(Array.isArray(n))for(let l=0;l<n.length;l++)Vs(i,r,n[l],o,!1);else Vs(i,r,n,o,!1)}function Ns(t,e){if(null!==e){const n=e.type;if(3&n)return _e(e,t);if(4&n)return Ps(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Ns(t,n);{const n=t[e.index];return Yt(n)?Ps(-1,n):pe(n)}}if(32&n)return vs(e,t)()||pe(t[e.index]);{const n=Ms(t,e);return null!==n?Array.isArray(n)?n[0]:Ns(ms(t[16]),n):Ns(t,e.next)}}return null}function Ms(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Ps(t,e){const n=Jt+t+1;if(n<e.length){const t=e[n],s=t[1].firstChild;if(null!==s)return Ns(t,s)}return e[7]}function Rs(t,e,n,s,r,i,o){for(;null!=n;){const l=s[n.index],a=n.type;if(o&&0===e&&(l&&fs(pe(l),s),n.flags|=4),64!=(64&n.flags))if(8&a)Rs(t,e,n.child,s,r,i,!1),Es(e,t,r,l,i);else if(32&a){const o=vs(n,s);let a;for(;a=o();)Es(e,t,r,a,i);Es(e,t,r,l,i)}else 16&a?zs(t,e,s,n,r,i):Es(e,t,r,l,i);n=o?n.projectionNext:n.next}}function js(t,e,n,s,r,i){Rs(n,s,t.firstChild,e,r,i,!1)}function zs(t,e,n,s,r,i){const o=n[16],l=o[6].projection[s.projection];if(Array.isArray(l))for(let a=0;a<l.length;a++)Es(e,t,r,l[a],i);else Rs(t,e,l,o[3],r,i,!0)}function Fs(t,e,n){de(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Ls(t,e,n){de(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Bs(t,e,n){let s=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===s||t.charCodeAt(r+n)<=32)return r}n=r+1}}const $s="ng-template";function Us(t,e,n){let s=0;for(;s<t.length;){let r=t[s++];if(n&&"class"===r){if(r=t[s],-1!==Bs(r.toLowerCase(),e,0))return!0}else if(1===r){for(;s<t.length&&"string"==typeof(r=t[s++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function Zs(t){return 4===t.type&&t.value!==$s}function qs(t,e,n){return e===(4!==t.type||n?t.value:$s)}function Ws(t,e,n){let s=4;const r=t.attrs||[],i=function(t){for(let n=0;n<t.length;n++)if(3===(e=t[n])||4===e||6===e)return n;var e;return t.length}(r);let o=!1;for(let l=0;l<e.length;l++){const a=e[l];if("number"!=typeof a){if(!o)if(4&s){if(s=2|1&s,""!==a&&!qs(t,a,n)||""===a&&1===e.length){if(Gs(s))return!1;o=!0}}else{const c=8&s?a:e[++l];if(8&s&&null!==t.attrs){if(!Us(t.attrs,c,n)){if(Gs(s))return!1;o=!0}continue}const u=Qs(8&s?"class":a,r,Zs(t),n);if(-1===u){if(Gs(s))return!1;o=!0;continue}if(""!==c){let t;t=u>i?"":r[u+1].toLowerCase();const e=8&s?t:null;if(e&&-1!==Bs(e,c,0)||2&s&&c!==t){if(Gs(s))return!1;o=!0}}}}else{if(!o&&!Gs(s)&&!Gs(a))return!1;if(o&&Gs(a))continue;o=!1,s=a|1&s}}return Gs(s)||o}function Gs(t){return 0==(1&t)}function Qs(t,e,n,s){if(null===e)return-1;let r=0;if(s||!n){let n=!1;for(;r<e.length;){const s=e[r];if(s===t)return r;if(3===s||6===s)n=!0;else{if(1===s||2===s){let t=e[++r];for(;"string"==typeof t;)t=e[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const s=t[n];if("number"==typeof s)return-1;if(s===e)return n;n++}return-1}(e,t)}function Js(t,e,n=!1){for(let s=0;s<e.length;s++)if(Ws(t,e[s],n))return!0;return!1}function Ks(t,e){return t?":not("+e.trim()+")":e}function Ys(t){let e=t[0],n=1,s=2,r="",i=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&s){const e=t[++n];r+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&s?r+="."+o:4&s&&(r+=" "+o);else""===r||Gs(o)||(e+=Ks(i,r),r=""),s=o,i=i||!Gs(s);n++}return""!==r&&(e+=Ks(i,r)),e}const Xs={};function tr(t){er(Oe(),Ae(),Je()+t,Ne())}function er(t,e,n,s){if(!s)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&tn(e,s,n)}else{const s=t.preOrderHooks;null!==s&&en(e,s,0,n)}Ke(n)}function nr(t,e){return t<<17|e<<2}function sr(t){return t>>17&32767}function rr(t){return 2|t}function ir(t){return(131068&t)>>2}function or(t,e){return-131069&t|e<<2}function lr(t){return 1|t}function ar(t,e){const n=t.contentQueries;if(null!==n)for(let s=0;s<n.length;s+=2){const r=n[s],i=n[s+1];if(-1!==i){const n=t.data[i];Le(r),n.contentQueries(2,e[i],i)}}}function cr(t,e,n,s,r,i,o,l,a,c){const u=e.blueprint.slice();return u[0]=r,u[2]=140|s,we(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=l||t&&t[11],u[12]=a||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=i,u[16]=2==e.type?t[16]:u,u}function ur(t,e,n,s,r){let i=t.data[e];if(null===i)i=function(t,e,n,s,r){const i=Te(),o=De(),l=t.data[e]=function(t,e,n,s,r,i){return{type:n,index:s,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?i:i&&i.parent,n,e,s,r);return null===t.firstChild&&(t.firstChild=l),null!==i&&(o?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l)),l}(t,e,n,s,r),xe.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=s,i.attrs=r;const t=function(){const t=xe.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();i.injectorIndex=null===t?-1:t.injectorIndex}return Ve(i,!0),i}function hr(t,e,n,s){if(0===n)return-1;const r=e.length;for(let i=0;i<n;i++)e.push(s),t.blueprint.push(s),t.data.push(null);return r}function dr(t,e,n){Ue(e);try{const s=t.viewQuery;null!==s&&Lr(1,s,n);const r=t.template;null!==r&&gr(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&ar(t,e),t.staticViewQueries&&Lr(2,t.viewQuery,n);const i=t.components;null!==i&&function(t,e){for(let n=0;n<e.length;n++)Pr(t,e[n])}(e,i)}catch(s){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),s}finally{e[2]&=-5,Qe()}}function fr(t,e,n,s){const r=e[2];if(256==(256&r))return;Ue(e);const i=Ne();try{we(e),xe.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&gr(t,e,n,2,s);const o=3==(3&r);if(!i)if(o){const n=t.preOrderCheckHooks;null!==n&&tn(e,n,null)}else{const n=t.preOrderHooks;null!==n&&en(e,n,0,null),nn(e,0)}if(function(t){for(let e=bs(t);null!==e;e=Cs(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],s=n[3];0==(1024&n[2])&&Ee(s,1),n[2]|=1024}}}(e),function(t){for(let e=bs(t);null!==e;e=Cs(e))for(let t=Jt;t<e.length;t++){const n=e[t],s=n[1];be(n)&&fr(s,n,s.template,n[8])}}(e),null!==t.contentQueries&&ar(t,e),!i)if(o){const n=t.contentCheckHooks;null!==n&&tn(e,n)}else{const n=t.contentHooks;null!==n&&en(e,n,1),nn(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const s=n[t];if(s<0)Ke(~s);else{const r=s,i=n[++t],o=n[++t];ze(i,r),o(2,e[r])}}}finally{Ke(-1)}}(t,e);const l=t.components;null!==l&&function(t,e){for(let n=0;n<e.length;n++)Nr(t,e[n])}(e,l);const a=t.viewQuery;if(null!==a&&Lr(2,a,s),!i)if(o){const n=t.viewCheckHooks;null!==n&&tn(e,n)}else{const n=t.viewHooks;null!==n&&en(e,n,2),nn(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),i||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ee(e[3],-1))}finally{Qe()}}function pr(t,e,n,s){const r=e[10],i=!Ne(),o=4==(4&e[2]);try{i&&!o&&r.begin&&r.begin(),o&&dr(t,e,s),fr(t,e,n,s)}finally{i&&!o&&r.end&&r.end()}}function gr(t,e,n,s,r){const i=Je(),o=2&s;try{Ke(-1),o&&e.length>Qt&&er(t,e,Qt,Ne()),n(s,r)}finally{Ke(i)}}function _r(t,e,n){if(Xt(e)){const s=e.directiveEnd;for(let r=e.directiveStart;r<s;r++){const e=t.data[r];e.contentQueries&&e.contentQueries(1,n[r],r)}}}function yr(t,e,n){ke()&&(function(t,e,n,s){const r=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||vn(n,e),fs(s,e);const o=n.initialInputs;for(let l=r;l<i;l++){const s=t.data[l],i=ne(s);i&&Tr(e,n,s);const a=Sn(e,t,l,n);fs(a,e),null!==o&&Vr(0,l-r,a,s,0,o),i&&(ve(n.index,e)[8]=a)}}(t,e,n,_e(n,e)),128==(128&n.flags)&&function(t,e,n){const s=n.directiveStart,r=n.directiveEnd,i=n.index,o=xe.lFrame.currentDirectiveIndex;try{Ke(i);for(let n=s;n<r;n++){const s=t.data[n],r=e[n];Fe(n),null===s.hostBindings&&0===s.hostVars&&null===s.hostAttrs||kr(s,r)}}finally{Ke(-1),Fe(o)}}(t,e,n))}function vr(t,e,n=_e){const s=e.localNames;if(null!==s){let r=e.index+1;for(let i=0;i<s.length;i+=2){const o=s[i+1],l=-1===o?n(e,t):t[o];t[r++]=l}}}function mr(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=br(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function br(t,e,n,s,r,i,o,l,a,c){const u=Qt+s,h=u+r,d=function(t,e){const n=[];for(let s=0;s<e;s++)n.push(s<t?null:Xs);return n}(u,h),f="function"==typeof c?c():c;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:l,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,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 o?o():o,firstChild:null,schemas:a,consts:f,incompleteFirstPass:!1}}function Cr(t,e,n){for(let s in t)if(t.hasOwnProperty(s)){const r=t[s];(n=null===n?{}:n).hasOwnProperty(s)?n[s].push(e,r):n[s]=[e,r]}return n}function wr(t,e,n,s,r,i,o,l){const a=_e(e,n);let c,u=e.inputs;var h;!l&&null!=u&&(c=u[s])?(qr(t,n,c,s,r),te(e)&&function(t,e){const n=ve(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(s="class"===(h=s)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,r=null!=o?o(r,e.value||"",s):r,de(i)?i.setProperty(a,s,r):cn(s)||(a.setProperty?a.setProperty(s,r):a[s]=r))}function Er(t,e,n,s){let r=!1;if(ke()){const i=function(t,e,n){const s=t.directiveRegistry;let r=null;if(s)for(let i=0;i<s.length;i++){const o=s[i];Js(n,o.selectors,!1)&&(r||(r=[]),wn(vn(n,e),t,o.type),ne(o)?(Ar(t,n),r.unshift(o)):r.push(o))}return r}(t,e,n),o=null===s?null:{"":-1};if(null!==i){r=!0,Ir(n,t.data.length,i.length);for(let t=0;t<i.length;t++){const e=i[t];e.providersResolver&&e.providersResolver(e)}let s=!1,l=!1,a=hr(t,e,i.length,null);for(let r=0;r<i.length;r++){const c=i[r];n.mergedAttrs=un(n.mergedAttrs,c.hostAttrs),Sr(t,n,e,a,c),Or(a,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),s=!0),l||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),l=!0),a++}!function(t,e){const n=e.directiveEnd,s=t.data,r=e.attrs,i=[];let o=null,l=null;for(let a=e.directiveStart;a<n;a++){const t=s[a],n=t.inputs,c=null===r||Zs(e)?null:Dr(n,r);i.push(c),o=Cr(n,a,o),l=Cr(t.outputs,a,l)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=i,e.inputs=o,e.outputs=l}(t,n)}o&&function(t,e,n){if(e){const s=t.localNames=[];for(let t=0;t<e.length;t+=2){const r=n[e[t+1]];if(null==r)throw new st("301",`Export of name '${e[t+1]}' not found!`);s.push(e[t],r)}}}(n,s,o)}return n.mergedAttrs=un(n.mergedAttrs,n.attrs),r}function xr(t,e,n,s,r,i){const o=i.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const i=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(s,r,o)}}function kr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ar(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Or(t,e,n){if(n){if(e.exportAs)for(let s=0;s<e.exportAs.length;s++)n[e.exportAs[s]]=t;ne(e)&&(n[""]=t)}}function Ir(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Sr(t,e,n,s,r){t.data[s]=r;const i=r.factory||(r.factory=se(r.type)),o=new ln(i,ne(r),null);t.blueprint[s]=o,n[s]=o,xr(t,e,0,s,hr(t,n,r.hostVars,Xs),r)}function Tr(t,e,n){const s=_e(e,t),r=mr(n),i=t[10],o=Rr(t,cr(t,r,null,n.onPush?64:16,s,e,i,i.createRenderer(s,n),null,null));t[e.index]=o}function Vr(t,e,n,s,r,i){const o=i[e];if(null!==o){const t=s.setInput;for(let e=0;e<o.length;){const r=o[e++],i=o[e++],l=o[e++];null!==t?s.setInput(n,l,r,i):n[i]=l}}}function Dr(t,e){let n=null,s=0;for(;s<e.length;){const r=e[s];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[s+1])),s+=2}else s+=2;else s+=4}return n}function Hr(t,e,n,s){return new Array(t,!0,!1,e,null,0,s,n,null,null)}function Nr(t,e){const n=ve(e,t);if(be(n)){const t=n[1];80&n[2]?fr(t,n,t.template,n[8]):n[5]>0&&Mr(n)}}function Mr(t){for(let n=bs(t);null!==n;n=Cs(n))for(let t=Jt;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];fr(t,e,t.template,e[8])}else e[5]>0&&Mr(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const s=ve(e[n],t);be(s)&&s[5]>0&&Mr(s)}}function Pr(t,e){const n=ve(e,t),s=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(s,n),dr(s,n,n[8])}function Rr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function jr(t){for(;t;){t[2]|=64;const e=ms(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function zr(t,e,n){const s=e[10];s.begin&&s.begin();try{fr(t,e,t.template,n)}catch(r){throw Zr(e,r),r}finally{s.end&&s.end()}}function Fr(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],s=me(n),r=s[1];pr(r,s,r.template,n)}}(t[8])}function Lr(t,e,n){Le(0),e(t,n)}const Br=(()=>Promise.resolve(null))();function $r(t){return t[7]||(t[7]=[])}function Ur(t){return t.cleanup||(t.cleanup=[])}function Zr(t,e){const n=t[9],s=n?n.get(ds,null):null;s&&s.handleError(e)}function qr(t,e,n,s,r){for(let i=0;i<n.length;){const o=n[i++],l=n[i++],a=e[o],c=t.data[o];null!==c.setInput?c.setInput(a,r,s,l):a[l]=r}}function Wr(t,e,n){let s=n?t.styles:null,r=n?t.classes:null,i=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?i=t:1==i?r=Y(r,t):2==i&&(s=Y(s,t+": "+e[++o]+";"))}n?t.styles=s:t.stylesWithoutHost=s,n?t.classes=r:t.classesWithoutHost=r}const Gr=new Rn("INJECTOR",-1);class Qr{get(t,e=Un){if(e===Un){const e=new Error(`NullInjectorError: No provider for ${K(t)}!`);throw e.name="NullInjectorError",e}return e}}const Jr=new Rn("Set Injector scope."),Kr={},Yr={},Xr=[];let ti;function ei(){return void 0===ti&&(ti=new Qr),ti}function ni(t,e=null,n=null,s){return new si(t,n,e||ei(),s)}class si{constructor(t,e,n,s=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&jn(e,n=>this.processProvider(n,t,e)),jn([t],t=>this.processInjectorType(t,[],r)),this.records.set(Gr,oi(void 0,this));const i=this.records.get(Jr);this.scope=null!=i?i.value:null,this.source=s||("object"==typeof t?null:K(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,e=Un,n=_t.Default){this.assertNotDestroyed();const s=Qn(this);try{if(!(n&_t.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof Rn)&&ct(t);e=n&&this.injectableDefInScope(n)?oi(ri(t),Kr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&_t.Self?ei():this.parent).get(t,e=n&_t.Optional&&e===Un?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(K(t)),s)throw i;return function(t,e,n,s){const r=t.ngTempTokenPath;throw e[qn]&&r.unshift(e[qn]),t.message=function(t,e,n,s=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=K(e);if(Array.isArray(e))r=e.map(K).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let s=e[n];t.push(n+":"+("string"==typeof s?JSON.stringify(s):K(s)))}r=`{${t.join(", ")}}`}return`${n}${s?"("+s+")":""}[${r}]: ${t.replace(Zn,"\n  ")}`}("\n"+t.message,r,n,s),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{Qn(s)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(K(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=et(t)))return!1;let s=ht(t);const r=null==s&&t.ngModule||void 0,i=void 0===r?t:r,o=-1!==n.indexOf(i);if(void 0!==r&&(s=ht(r)),null==s)return!1;if(null!=s.imports&&!o){let t;n.push(i);try{jn(s.imports,s=>{this.processInjectorType(s,e,n)&&(void 0===t&&(t=[]),t.push(s))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:s}=t[e];jn(s,t=>this.processProvider(t,n,s||Xr))}}this.injectorDefTypes.add(i);const l=se(i)||(()=>new i);this.records.set(i,oi(l,Kr));const a=s.providers;if(null!=a&&!o){const e=t;jn(a,t=>this.processProvider(t,e,a))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let s=ai(t=et(t))?t:et(t&&t.provide);const r=function(t,e,n){return li(t)?oi(void 0,t.useValue):oi(ii(t),Kr)}(t);if(ai(t)||!0!==t.multi)this.records.get(s);else{let e=this.records.get(s);e||(e=oi(void 0,Kr,!0),e.factory=()=>Yn(e.multi),this.records.set(s,e)),s=t,e.multi.push(t)}this.records.set(s,r)}hydrate(t,e){var n;return e.value===Kr&&(e.value=Yr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function ri(t){const e=ct(t),n=null!==e?e.factory:se(t);if(null!==n)return n;if(t instanceof Rn)throw new Error(`Token ${K(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let s=0;s<t;s++)n.push("?");return n}(e);throw new Error(`Can't resolve all parameters for ${K(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[dt]||t[pt]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);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.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function ii(t,e,n){let s;if(ai(t)){const e=et(t);return se(e)||ri(e)}if(li(t))s=()=>et(t.useValue);else if((r=t)&&r.useFactory)s=()=>t.useFactory(...Yn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))s=()=>Kn(et(t.useExisting));else{const e=et(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return se(e)||ri(e);s=()=>new e(...Yn(t.deps))}var r;return s}function oi(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function li(t){return null!==t&&"object"==typeof t&&Wn in t}function ai(t){return"function"==typeof t}const ci=function(t,e,n){return function(t,e=null,n=null,s){const r=ni(t,e,n,s);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};let ui=(()=>{class t{static create(t,e){return Array.isArray(t)?ci(t,e,""):ci(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Un,t.NULL=new Qr,t.\u0275prov=lt({token:t,providedIn:"any",factory:()=>Kn(Gr)}),t.__NG_ELEMENT_ID__=-1,t})();function hi(t,e){Xe(me(t)[1],Se())}function di(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const s=[t];for(;e;){let r;if(ne(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){s.push(r);const e=t;e.inputs=fi(t.inputs),e.declaredInputs=fi(t.declaredInputs),e.outputs=fi(t.outputs);const n=r.hostBindings;n&&_i(t,n);const i=r.viewQuery,o=r.contentQueries;if(i&&pi(t,i),o&&gi(t,o),J(t.inputs,r.inputs),J(t.declaredInputs,r.declaredInputs),J(t.outputs,r.outputs),ne(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let s=0;s<e.length;s++){const r=e[s];r&&r.ngInherit&&r(t),r===di&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let s=t.length-1;s>=0;s--){const r=t[s];r.hostVars=e+=r.hostVars,r.hostAttrs=un(r.hostAttrs,n=un(n,r.hostAttrs))}}(s)}function fi(t){return t===It?{}:t===Tt?[]:t}function pi(t,e){const n=t.viewQuery;t.viewQuery=n?(t,s)=>{e(t,s),n(t,s)}:e}function gi(t,e){const n=t.contentQueries;t.contentQueries=n?(t,s,r)=>{e(t,s,r),n(t,s,r)}:e}function _i(t,e){const n=t.hostBindings;t.hostBindings=n?(t,s)=>{e(t,s),n(t,s)}:e}let yi=null;function vi(){if(!yi){const t=Ot.Symbol;if(t&&t.iterator)yi=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(yi=n)}}}return yi}class mi{constructor(t){this.wrapped=t}static wrap(t){return new mi(t)}static unwrap(t){return mi.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof mi}}function bi(t){return!!Ci(t)&&(Array.isArray(t)||!(t instanceof Map)&&vi()in t)}function Ci(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function wi(t,e,n){return t[e]=n}function Ei(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function xi(t,e,n,s){const r=Ei(t,e,n);return Ei(t,e+1,s)||r}function ki(t,e,n,s){const r=Ae();return Ei(r,Re(),e)&&(Oe(),function(t,e,n,s,r,i){const o=_e(t,e);!function(t,e,n,s,r,i,o){if(null==i)de(t)?t.removeAttribute(e,r,n):e.removeAttribute(r);else{const l=null==o?rt(i):o(i,s||"",r);de(t)?t.setAttribute(e,r,l,n):n?e.setAttributeNS(n,r,l):e.setAttribute(r,l)}}(e[11],o,i,t.value,n,s,r)}(Ye(),r,t,e,n,s)),ki}function Ai(t,e,n,s){return Ei(t,Re(),n)?e+rt(n)+s:Xs}function Oi(t,e,n,s,r,i,o,l){const a=Ae(),c=Oe(),u=t+Qt,h=c.firstCreatePass?function(t,e,n,s,r,i,o,l,a){const c=e.consts,u=ur(e,t,4,o||null,Ce(c,l));Er(e,n,u,Ce(c,a)),Xe(e,u);const h=u.tViews=br(2,u,s,r,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,c,a,e,n,s,r,i,o):c.data[u];Ve(h,!1);const d=a[11].createComment("");Hs(c,a,d,h),fs(d,a),Rr(a,a[u]=Hr(d,a,d,h)),ee(h)&&yr(c,a,h),null!=o&&vr(a,h,l)}function Ii(t,e=_t.Default){const n=Ae();return null===n?Kn(t,e):kn(Se(),n,et(t),e)}function Si(t,e,n){const s=Ae();return Ei(s,Re(),e)&&wr(Oe(),Ye(),s,t,e,s[11],n,!1),Si}function Ti(t,e,n,s,r){const i=r?"class":"style";qr(t,n,e.inputs[i],i,s)}function Vi(t,e,n,s){const r=Ae(),i=Oe(),o=Qt+t,l=r[11],a=r[o]=xs(l,e,xe.lFrame.currentNamespace),c=i.firstCreatePass?function(t,e,n,s,r,i,o){const l=e.consts,a=ur(e,t,2,r,Ce(l,i));return Er(e,n,a,Ce(l,o)),null!==a.attrs&&Wr(a,a.attrs,!1),null!==a.mergedAttrs&&Wr(a,a.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,a),a}(o,i,r,0,e,n,s):i.data[o];Ve(c,!0);const u=c.mergedAttrs;null!==u&&an(l,a,u);const h=c.classes;null!==h&&Ls(l,a,h);const d=c.styles;null!==d&&Fs(l,a,d),64!=(64&c.flags)&&Hs(i,r,a,c),0===xe.lFrame.elementDepthCount&&fs(a,r),xe.lFrame.elementDepthCount++,ee(c)&&(yr(i,r,c),_r(i,c,r)),null!==s&&vr(r,c)}function Di(){let t=Se();De()?He():(t=t.parent,Ve(t,!1));const e=t;xe.lFrame.elementDepthCount--;const n=Oe();n.firstCreatePass&&(Xe(n,t),Xt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Ti(n,e,Ae(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Ti(n,e,Ae(),e.stylesWithoutHost,!1)}function Hi(t,e,n,s){Vi(t,e,n,s),Di()}function Ni(t,e,n){const s=Ae(),r=Oe(),i=t+Qt,o=r.firstCreatePass?function(t,e,n,s,r){const i=e.consts,o=Ce(i,s),l=ur(e,t,8,"ng-container",o);return null!==o&&Wr(l,o,!0),Er(e,n,l,Ce(i,r)),null!==e.queries&&e.queries.elementStart(e,l),l}(i,r,s,e,n):r.data[i];Ve(o,!0);const l=s[i]=s[11].createComment("");Hs(r,s,l,o),fs(l,s),ee(o)&&(yr(r,s,o),_r(r,o,s)),null!=n&&vr(s,o)}function Mi(){let t=Se();const e=Oe();De()?He():(t=t.parent,Ve(t,!1)),e.firstCreatePass&&(Xe(e,t),Xt(t)&&e.queries.elementEnd(t))}function Pi(){return Ae()}function Ri(t){return!!t&&"function"==typeof t.then}function ji(t,e,n=!1,s){const r=Ae(),i=Oe(),o=Se();return function(t,e,n,s,r,i,o=!1,l){const a=ee(s),c=t.firstCreatePass&&Ur(t),u=$r(e);let h=!0;if(3&s.type){const d=_e(s,e),f=l?l(d):It,p=f.target||d,g=u.length,_=l?t=>l(pe(t[s.index])).target:s.index;if(de(n)){let o=null;if(!l&&a&&(o=function(t,e,n,s){const r=t.cleanup;if(null!=r)for(let i=0;i<r.length-1;i+=2){const t=r[i];if(t===n&&r[i+1]===s){const t=e[7],n=r[i+2];return t.length>n?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,r,s.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=Fi(s,e,0,i,!1);const t=n.listen(f.name||p,r,i);u.push(i,t),c&&c.push(r,_,g,g+1)}}else i=Fi(s,e,0,i,!0),p.addEventListener(r,i,o),u.push(i),c&&c.push(r,_,g,o)}else i=Fi(s,e,0,i,!1);const d=s.outputs;let f;if(h&&null!==d&&(f=d[r])){const t=f.length;if(t)for(let n=0;n<t;n+=2){const t=e[f[n]][f[n+1]].subscribe(i),o=u.length;u.push(i,t),c&&c.push(r,s.index,o,-(o+1))}}}(i,r,r[11],o,t,e,n,s),ji}function zi(t,e,n,s){try{return!1!==n(s)}catch(r){return Zr(t,r),!1}}function Fi(t,e,n,s,r){return function n(i){if(i===Function)return s;const o=2&t.flags?ve(t.index,e):e;0==(32&e[2])&&jr(o);let l=zi(e,0,s,i),a=n.__ngNextListenerFn__;for(;a;)l=zi(e,0,a,i)&&l,a=a.__ngNextListenerFn__;return r&&!1===l&&(i.preventDefault(),i.returnValue=!1),l}}function Li(t=1){return function(t){return(xe.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,xe.lFrame.contextLView))[8]}(t)}function Bi(t,e,n){return $i(t,"",e,"",n),Bi}function $i(t,e,n,s,r){const i=Ae(),o=Ai(i,e,n,s);return o!==Xs&&wr(Oe(),Ye(),i,t,o,i[11],r,!1),$i}function Ui(t,e,n,s,r){const i=t[n+1],o=null===e;let l=s?sr(i):ir(i),a=!1;for(;0!==l&&(!1===a||o);){const n=t[l+1];Zi(t[l],e)&&(a=!0,t[l+1]=s?lr(n):rr(n)),l=s?sr(n):ir(n)}a&&(t[n+1]=s?rr(i):lr(i))}function Zi(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&$n(t,e)>=0}const qi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wi(t){return t.substring(qi.key,qi.keyEnd)}function Gi(t,e){const n=qi.textEnd;return n===e?-1:(e=qi.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,qi.key=e,n),Qi(t,e,n))}function Qi(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Ji(t,e){return function(t,e,n,s){const r=Ae(),i=Oe(),o=je(2);i.firstUpdatePass&&Xi(i,t,o,true),e!==Xs&&Ei(r,o,e)&&no(i,i.data[Je()],r,r[11],t,r[o+1]=function(t,e){return null==t||"object"==typeof t&&(t=K(rs(t))),t}(e),true,o)}(t,e),Ji}function Ki(t,e){for(let n=function(t){return function(t){qi.key=0,qi.keyEnd=0,qi.value=0,qi.valueEnd=0,qi.textEnd=t.length}(t),Gi(t,Qi(t,0,qi.textEnd))}(e);n>=0;n=Gi(e,n))Ln(t,Wi(e),!0)}function Yi(t,e){return e>=t.expandoStartIndex}function Xi(t,e,n,s){const r=t.data;if(null===r[n+1]){const i=r[Je()],o=Yi(t,n);io(i,s)&&null===e&&!o&&(e=!1),e=function(t,e,n,s){const r=function(t){const e=xe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=s?e.residualClasses:e.residualStyles;if(null===r)0===(s?e.classBindings:e.styleBindings)&&(n=eo(n=to(null,t,e,n,s),e.attrs,s),i=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=to(r,t,e,n,s),null===i){let n=function(t,e,n){const s=n?e.classBindings:e.styleBindings;if(0!==ir(s))return t[sr(s)]}(t,e,s);void 0!==n&&Array.isArray(n)&&(n=to(null,t,e,n[1],s),n=eo(n,e.attrs,s),function(t,e,n,s){t[sr(n?e.classBindings:e.styleBindings)]=s}(t,e,s,n))}else i=function(t,e,n){let s;const r=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<r;i++)s=eo(s,t[i].hostAttrs,n);return eo(s,e.attrs,n)}(t,e,s)}return void 0!==i&&(s?e.residualClasses=i:e.residualStyles=i),n}(r,i,e,s),function(t,e,n,s,r,i){let o=i?e.classBindings:e.styleBindings,l=sr(o),a=ir(o);t[s]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||$n(t,c)>0)&&(u=!0)}else c=n;if(r)if(0!==a){const e=sr(t[l+1]);t[s+1]=nr(e,l),0!==e&&(t[e+1]=or(t[e+1],s)),t[l+1]=131071&t[l+1]|s<<17}else t[s+1]=nr(l,0),0!==l&&(t[l+1]=or(t[l+1],s)),l=s;else t[s+1]=nr(a,0),0===l?l=s:t[a+1]=or(t[a+1],s),a=s;u&&(t[s+1]=rr(t[s+1])),Ui(t,c,s,!0),Ui(t,c,s,!1),function(t,e,n,s,r){const i=r?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&$n(i,e)>=0&&(n[s+1]=lr(n[s+1]))}(e,c,t,s,i),o=nr(l,a),i?e.classBindings=o:e.styleBindings=o}(r,i,e,n,o,s)}}function to(t,e,n,s,r){let i=null;const o=n.directiveEnd;let l=n.directiveStylingLast;for(-1===l?l=n.directiveStart:l++;l<o&&(i=e[l],s=eo(s,i.hostAttrs,r),i!==t);)l++;return null!==t&&(n.directiveStylingLast=l),s}function eo(t,e,n){const s=n?1:2;let r=-1;if(null!==e)for(let i=0;i<e.length;i++){const o=e[i];"number"==typeof o?r=o:r===s&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Ln(t,o,!!n||e[++i]))}return void 0===t?null:t}function no(t,e,n,s,r,i,o,l){if(!(3&e.type))return;const a=t.data,c=a[l+1];ro(1==(1&c)?so(a,e,n,r,ir(c),o):void 0)||(ro(i)||2==(2&c)&&(i=so(a,null,n,r,l,o)),function(t,e,n,s,r){const i=de(t);if(e)r?i?t.addClass(n,s):n.classList.add(s):i?t.removeClass(n,s):n.classList.remove(s);else{let e=-1===s.indexOf("-")?void 0:ys.DashCase;if(null==r)i?t.removeStyle(n,s,e):n.style.removeProperty(s);else{const o="string"==typeof r&&r.endsWith("!important");o&&(r=r.slice(0,-10),e|=ys.Important),i?t.setStyle(n,s,r,e):n.style.setProperty(s,r,o?"important":"")}}}(s,o,ge(Je(),n),r,i))}function so(t,e,n,s,r,i){const o=null===e;let l;for(;r>0;){const e=t[r],i=Array.isArray(e),a=i?e[1]:e,c=null===a;let u=n[r+1];u===Xs&&(u=c?St:void 0);let h=c?Bn(u,s):a===s?u:void 0;if(i&&!ro(h)&&(h=Bn(e,s)),ro(h)&&(l=h,o))return l;const d=t[r+1];r=o?sr(d):ir(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(l=Bn(t,s))}return l}function ro(t){return void 0!==t}function io(t,e){return 0!=(t.flags&(e?16:32))}function oo(t,e=""){const n=Ae(),s=Oe(),r=t+Qt,i=s.firstCreatePass?ur(s,r,1,e,null):s.data[r],o=n[r]=function(t,e){return de(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Hs(s,n,o,i),Ve(i,!1)}function lo(t){return ao("",t,""),lo}function ao(t,e,n){const s=Ae(),r=Ai(s,t,e,n);return r!==Xs&&function(t,e,n){const s=ge(e,t);!function(t,e,n){de(t)?t.setValue(e,n):e.textContent=n}(t[11],s,n)}(s,Je(),r),ao}function co(t,e,n){!function(t,e,n,s){const r=Oe(),i=je(2);r.firstUpdatePass&&Xi(r,null,i,s);const o=Ae();if(n!==Xs&&Ei(o,i,n)){const l=r.data[Je()];if(io(l,s)&&!Yi(r,i)){let t=l.classesWithoutHost;null!==t&&(n=Y(t,n||"")),Ti(r,l,o,n,s)}else!function(t,e,n,s,r,i,o,l){r===Xs&&(r=St);let a=0,c=0,u=0<r.length?r[0]:null,h=0<i.length?i[0]:null;for(;null!==u||null!==h;){const o=a<r.length?r[a+1]:void 0,d=c<i.length?i[c+1]:void 0;let f,p=null;u===h?(a+=2,c+=2,o!==d&&(p=h,f=d)):null===h||null!==u&&u<h?(a+=2,p=u):(c+=2,p=h,f=d),null!==p&&no(t,e,n,s,p,f,true,l),u=a<r.length?r[a]:null,h=c<i.length?i[c]:null}}(r,l,o,o[11],o[i+1],o[i+1]=function(t,e,n){if(null==n||""===n)return St;const s=[],r=rs(n);if(Array.isArray(r))for(let i=0;i<r.length;i++)t(s,r[i],!0);else if("object"==typeof r)for(const i in r)r.hasOwnProperty(i)&&t(s,i,r[i]);else"string"==typeof r&&e(s,r);return s}(t,e,n),0,i)}}(Ln,Ki,Ai(Ae(),t,e,n),!0)}const uo=void 0;var ho=["en",[["a","p"],["AM","PM"],uo],[["AM","PM"],uo,uo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],uo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],uo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",uo,"{1} 'at' {0}",uo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let fo={};function po(t){return t in fo||(fo[t]=Ot.ng&&Ot.ng.common&&Ot.ng.common.locales&&Ot.ng.common.locales[t]),fo[t]}var go=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const _o="en-US";let yo=_o;function vo(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,s){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(yo=t.toLowerCase().replace(/_/g,"-"))}function mo(t,e,n,s,r){if(t=et(t),Array.isArray(t))for(let i=0;i<t.length;i++)mo(t[i],e,n,s,r);else{const i=Oe(),o=Ae();let l=ai(t)?t:et(t.provide),a=ii(t);const c=Se(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(ai(t)||!t.multi){const s=new ln(a,r,Ii),f=wo(l,e,r?u:u+d,h);-1===f?(wn(vn(c,o),i,l),bo(i,t,e.length),e.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(s),o.push(s)):(n[f]=s,o[f]=s)}else{const f=wo(l,e,u+d,h),p=wo(l,e,u,u+d),g=f>=0&&n[f],_=p>=0&&n[p];if(r&&!_||!r&&!g){wn(vn(c,o),i,l);const u=function(t,e,n,s,r){const i=new ln(t,n,Ii);return i.multi=[],i.index=e,i.componentProviders=0,Co(i,r,s&&!n),i}(r?xo:Eo,n.length,r,s,a);!r&&_&&(n[p].providerFactory=u),bo(i,t,e.length,0),e.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else bo(i,t,f>-1?f:p,Co(n[r?p:f],a,!r&&s));!r&&s&&_&&n[p].componentProviders++}}}function bo(t,e,n,s){const r=ai(e);if(r||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;if(i){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[s,i]):o[t+1].push(s,i)}else o.push(n,i)}}}function Co(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function wo(t,e,n,s){for(let r=n;r<s;r++)if(e[r]===t)return r;return-1}function Eo(t,e,n,s){return ko(this.multi,[])}function xo(t,e,n,s){const r=this.multi;let i;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Sn(n,n[1],this.providerFactory.index,s);i=e.slice(0,t),ko(r,i);for(let n=t;n<e.length;n++)i.push(e[n])}else i=[],ko(r,i);return i}function ko(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Ao(t,e=[]){return n=>{n.providersResolver=(n,s)=>function(t,e,n){const s=Oe();if(s.firstCreatePass){const r=ne(t);mo(n,s.data,s.blueprint,r,!0),mo(e,s.data,s.blueprint,r,!1)}}(n,s?s(t):t,e)}}class Oo{}class Io{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${K(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let So=(()=>{class t{}return t.NULL=new Io,t})();function To(...t){}function Vo(t,e){return new Ho(_e(t,e))}const Do=function(){return Vo(Se(),Ae())};let Ho=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Do,t})();class No{}let Mo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Po(),t})();const Po=function(){const t=Ae(),e=ve(Se().index,t);return function(t){return t[11]}(Kt(e)?e:t)};let Ro=(()=>{class t{}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>null}),t})();class jo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const zo=new jo("11.2.11");class Fo{constructor(){}supports(t){return bi(t)}create(t){return new Bo(t)}}const Lo=(t,e)=>e;class Bo{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||Lo}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,s=0,r=null;for(;e||n;){const i=!n||e&&e.currentIndex<qo(n,s,r)?e:n,o=qo(i,s,r),l=i.currentIndex;if(i===n)s--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)s++;else{r||(r=[]);const t=o-s,e=l-s;if(t!=e){for(let n=0;n<t;n++){const s=n<r.length?r[n]:r[n]=0,i=s+n;e<=i&&i<t&&(r[n]=s+1)}r[i.previousIndex]=e-t}}o!==l&&t(i,o,l)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!bi(t))throw new Error(`Error trying to diff '${K(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,s,r=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],s=this._trackByFn(e,n),null!==r&&Object.is(r.trackById,s)?(i&&(r=this._verifyReinsertion(r,n,s,e)),Object.is(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,s,e),i=!0),r=r._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[vi()]();let s;for(;!(s=n.next()).done;)e(s.value)}}(t,t=>{s=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,s)?(i&&(r=this._verifyReinsertion(r,t,s,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,s,e),i=!0),r=r._next,e++}),this.length=e;return this._truncate(r),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,e,n,s){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,s)):t=this._addAfter(new $o(e,n),r,s),t}_verifyReinsertion(t,e,n,s){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,r=t._nextRemoved;return null===s?this._removalsHead=r:s._nextRemoved=r,null===r?this._removalsTail=s:r._prevRemoved=s,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const s=null===e?this._itHead:e._next;return t._next=s,t._prev=e,null===s?this._itTail=t:s._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Zo),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Zo),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,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class $o{constructor(t,e){this.item=t,this.trackById=e,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 Uo{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,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Zo{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Uo,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function qo(t,e,n){const s=t.previousIndex;if(null===s)return s;let r=0;return n&&s<n.length&&(r=n[s]),s+e+r}class Wo{constructor(){}supports(t){return t instanceof Map||Ci(t)}create(){return new Go}}class Go{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 e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Ci(t)))throw new Error(`Error trying to diff '${K(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const s=n._prev,r=n._next;return s&&(s._next=r),r&&(r._prev=s),n._next=null,n._prev=null,n}const n=new Qo(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_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,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,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,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Qo{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 Jo(){return new Ko([new Fo])}let Ko=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Jo()),deps:[[t,new ns,new es]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:Jo}),t})();function Yo(){return new Xo([new Wo])}let Xo=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Yo()),deps:[[t,new ns,new es]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:Yo}),t})();function tl(t,e,n,s,r=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&s.push(pe(i)),Yt(i))for(let t=Jt;t<i.length;t++){const e=i[t],n=e[1].firstChild;null!==n&&tl(e[1],e,n,s)}const o=n.type;if(8&o)tl(t,e,n.child,s);else if(32&o){const t=vs(n,e);let r;for(;r=t();)s.push(r)}else if(16&o){const t=Ms(e,n);if(Array.isArray(t))s.push(...t);else{const n=ms(e[16]);tl(n[1],n,t,s,!0)}}n=r?n.projectionNext:n.next}return s}class el{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return tl(e,t,e.firstChild,[])}get context(){return this._lView[8]}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(Yt(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(As(t,n),Fn(e,n))}this._attachedToViewContainer=!1}Os(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,s){const r=$r(e);r.push(s)}(0,this._lView,0,t)}markForCheck(){jr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){zr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Me(!0);try{zr(t,e,n)}finally{Me(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,js(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class nl extends el{constructor(t){super(t),this._view=t}detectChanges(){Fr(this._view)}checkNoChanges(){!function(t){Me(!0);try{Fr(t)}finally{Me(!1)}}(this._view)}get context(){return null}}const sl=[new Wo],rl=new Ko([new Fo]),il=new Xo(sl),ol=function(){return t=Se(),e=Ae(),4&t.type?new cl(e,t,Vo(t,e)):null;var t,e};let ll=(()=>{class t{}return t.__NG_ELEMENT_ID__=ol,t})();const al=ll,cl=class extends al{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=cr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(n[19]=s.createEmbeddedView(e)),dr(e,n,t),new el(n)}};class ul{}const hl=function(){return function(t,e){let n;const s=e[t.index];if(Yt(s))n=s;else{let r;if(8&t.type)r=pe(s);else{const n=e[11];r=n.createComment("");const s=_e(t,e);Ss(n,Ds(n,s),r,function(t,e){return de(t)?t.nextSibling(e):e.nextSibling}(n,s),!1)}e[t.index]=n=Hr(s,e,r,t),Rr(e,n)}return new pl(n,t,e)}(Se(),Ae())};let dl=(()=>{class t{}return t.__NG_ELEMENT_ID__=hl,t})();const fl=dl,pl=class extends fl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Vo(this._hostTNode,this._hostLView)}get injector(){return new Dn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Cn(this._hostTNode,this._hostLView);if(dn(t)){const e=pn(t,this._hostLView),n=fn(t);return new Dn(e[1].data[n+8],e)}return new Dn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=gl(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Jt}createEmbeddedView(t,e,n){const s=t.createEmbeddedView(e||{});return this.insert(s,n),s}createComponent(t,e,n,s,r){const i=n||this.parentInjector;if(!r&&null==t.ngModule&&i){const t=i.get(ul,null);t&&(r=t)}const o=t.create(i,s,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,s=n[1];if(Yt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],s=new pl(e,e[6],e[3]);s.detach(s.indexOf(t))}}const r=this._adjustIndex(e),i=this._lContainer;!function(t,e,n,s){const r=Jt+s,i=n.length;s>0&&(n[r-1][4]=e),s<i-Jt?(e[4]=n[r],zn(n,Jt+s,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const l=e[19];null!==l&&l.insertView(t),e[2]|=128}(s,n,i,r);const o=Ps(r,i),l=n[11],a=Ds(l,i[7]);return null!==a&&function(t,e,n,s,r,i){s[0]=r,s[6]=e,js(t,s,n,1,r,i)}(s,i[6],l,n,a,o),t.attachToViewContainerRef(),zn(_l(i),r,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=gl(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=As(this._lContainer,e);n&&(Fn(_l(this._lContainer),e),Os(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=As(this._lContainer,e);return n&&null!=Fn(_l(this._lContainer),e)?new el(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function gl(t){return t[8]}function _l(t){return t[8]||(t[8]=[])}const yl={};class vl extends So{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Wt(t);return new Cl(e,this.ngModule)}}function ml(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const bl=new Rn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>ps});class Cl extends Oo{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Ys).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ml(this.componentDef.inputs)}get outputs(){return ml(this.componentDef.outputs)}create(t,e,n,s){const r=(s=s||this.ngModule)?function(t,e){return{get:(n,s,r)=>{const i=t.get(n,yl,r);return i!==yl||s===yl?i:e.get(n,s,r)}}}(t,s.injector):t,i=r.get(No,fe),o=r.get(Ro,null),l=i.createRenderer(null,this.componentDef),a=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(de(t))return t.selectRootElement(e,n===wt.ShadowDom);let s="string"==typeof e?t.querySelector(e):e;return s.textContent="",s}(l,n,this.componentDef.encapsulation):xs(i.createRenderer(null,this.componentDef),a,function(t){const e=t.toLowerCase();return"svg"===e?ue:"math"===e?"http://www.w3.org/1998/MathML/":null}(a)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:ps,clean:Br,playerHandler:null,flags:0},d=br(0,null,null,1,0,null,null,null,null,null),f=cr(null,d,h,u,null,null,i,l,o,r);let p,g;Ue(f);try{const t=function(t,e,n,s,r,i){const o=n[1];n[20]=t;const l=ur(o,20,2,"#host",null),a=l.mergedAttrs=e.hostAttrs;null!==a&&(Wr(l,a,!0),null!==t&&(an(r,t,a),null!==l.classes&&Ls(r,t,l.classes),null!==l.styles&&Fs(r,t,l.styles)));const c=s.createRenderer(t,e),u=cr(n,mr(e),null,e.onPush?64:16,n[20],l,s,c,null,null);return o.firstCreatePass&&(wn(vn(l,n),o,e.type),Ar(o,l),Ir(l,n.length,1)),Rr(n,u),n[20]=u}(c,this.componentDef,f,i,l);if(c)if(n)an(l,c,["ng-version",zo.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let s=1,r=2;for(;s<t.length;){let i=t[s];if("string"==typeof i)2===r?""!==i&&e.push(i,t[++s]):8===r&&n.push(i);else{if(!Gs(r))break;r=i}s++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&an(l,c,t),e&&e.length>0&&Ls(l,c,e.join(" "))}if(g=ye(d,Qt),void 0!==e){const t=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const s=e[n];t.push(null!=s?Array.from(s):null)}}p=function(t,e,n,s,r){const i=n[1],o=function(t,e,n){const s=Se();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Sr(t,s,e,hr(t,e,1,null),n));const r=Sn(e,t,s.directiveStart,s);fs(r,e);const i=_e(s,e);return i&&fs(i,e),r}(i,n,e);if(s.components.push(o),t[8]=o,r&&r.forEach(t=>t(o,e)),e.contentQueries){const t=Se();e.contentQueries(1,o,t.directiveStart)}const l=Se();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Ke(l.index),xr(n[1],l,0,l.directiveStart,l.directiveEnd,e),kr(e,o)),o}(t,this.componentDef,f,h,[hi]),dr(d,f,null)}finally{Qe()}return new wl(this.componentType,p,Vo(g,f),f,g)}}class wl extends class{}{constructor(t,e,n,s,r){super(),this.location=n,this._rootLView=s,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new nl(s),this.componentType=t}get injector(){return new Dn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const El=new Map;class xl extends ul{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new vl(this);const n=Gt(t),s=t[Mt]||null;s&&vo(s),this._bootstrapComponents=_s(n.bootstrap),this._r3Injector=ni(t,e,[{provide:ul,useValue:this},{provide:So,useValue:this.componentFactoryResolver}],K(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=ui.THROW_IF_NOT_FOUND,n=_t.Default){return t===ui||t===ul||t===Gr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class kl extends class{}{constructor(t){super(),this.moduleType=t,null!==Gt(t)&&function(t){const e=new Set;!function t(n){const s=Gt(n,!0),r=s.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${K(e)} vs ${K(e.name)}`)}(r,El.get(r),n),El.set(r,n));const i=_s(s.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new xl(this.moduleType,t)}}function Al(t,e,n,s){return function(t,e,n,s,r,i){const o=e+n;return Ei(t,o,r)?wi(t,o+1,i?s.call(i,r):s(r)):Sl(t,o+1)}(Ae(),Pe(),t,e,n,s)}function Ol(t,e,n,s,r){return function(t,e,n,s,r,i,o){const l=e+n;return xi(t,l,r,i)?wi(t,l+2,o?s.call(o,r,i):s(r,i)):Sl(t,l+2)}(Ae(),Pe(),t,e,n,s,r)}function Il(t,e,n,s,r,i){return Tl(Ae(),Pe(),t,e,n,s,r,i)}function Sl(t,e){const n=t[e];return n===Xs?void 0:n}function Tl(t,e,n,s,r,i,o,l){const a=e+n;return function(t,e,n,s,r){const i=xi(t,e,n,s);return Ei(t,e+2,r)||i}(t,a,r,i,o)?wi(t,a+3,l?s.call(l,r,i,o):s(r,i,o)):Sl(t,a+3)}function Vl(t){return e=>{setTimeout(t,void 0,e)}}const Dl=class extends E{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var s,r,i;let o=t,l=e||(()=>null),a=n;if(t&&"object"==typeof t){const e=t;o=null===(s=e.next)||void 0===s?void 0:s.bind(e),l=null===(r=e.error)||void 0===r?void 0:r.bind(e),a=null===(i=e.complete)||void 0===i?void 0:i.bind(e)}this.__isAsync&&(l=Vl(l),o&&(o=Vl(o)),a&&(a=Vl(a)));const c=super.subscribe({next:o,error:l,complete:a});return t instanceof h&&t.add(c),c}},Hl=new Rn("Application Initializer");let Nl=(()=>{class t{constructor(t){this.appInits=t,this.resolve=To,this.reject=To,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();Ri(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Kn(Hl,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Ml=new Rn("AppId"),Pl={provide:Ml,useFactory:function(){return`${Rl()}${Rl()}${Rl()}`},deps:[]};function Rl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const jl=new Rn("Platform Initializer"),zl=new Rn("Platform ID"),Fl=new Rn("appBootstrapListener");let Ll=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Bl=new Rn("LocaleId"),$l=new Rn("DefaultCurrencyCode");class Ul{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Zl=function(t){return new kl(t)},ql=Zl,Wl=function(t){return Promise.resolve(Zl(t))},Gl=function(t){const e=Zl(t),n=_s(Gt(t).declarations).reduce((t,e)=>{const n=Wt(e);return n&&t.push(new Cl(n)),t},[]);return new Ul(e,n)},Ql=Gl,Jl=function(t){return Promise.resolve(Gl(t))};let Kl=(()=>{class t{constructor(){this.compileModuleSync=ql,this.compileModuleAsync=Wl,this.compileModuleAndAllComponentsSync=Ql,this.compileModuleAndAllComponentsAsync=Jl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Yl=(()=>Promise.resolve(0))();function Xl(t){"undefined"==typeof Zone?Yl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ta{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Dl(!1),this.onMicrotaskEmpty=new Dl(!1),this.onStable=new Dl(!1),this.onError=new Dl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!n&&e,s.shouldCoalesceRunChangeDetection=n,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function(){let t=Ot.requestAnimationFrame,e=Ot.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const s=e[Zone.__symbol__("OriginalDelegate")];s&&(e=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ot,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,sa(t),na(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),sa(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,s,r,i,o,l)=>{try{return ra(t),n.invokeTask(r,i,o,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),ia(t)}},onInvoke:(n,s,r,i,o,l,a)=>{try{return ra(t),n.invoke(r,i,o,l,a)}finally{t.shouldCoalesceRunChangeDetection&&e(),ia(t)}},onHasTask:(e,n,s,r)=>{e.hasTask(s,r),n===s&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,sa(t),na(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,s,r)=>(e.handleError(s,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(s)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ta.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ta.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,s){const r=this._inner,i=r.scheduleEventTask("NgZoneEvent: "+s,t,ea,To,To);try{return r.runTask(i,e,n)}finally{r.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const ea={};function na(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function sa(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function ra(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ia(t){t._nesting--,na(t)}class oa{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Dl,this.onMicrotaskEmpty=new Dl,this.onStable=new Dl,this.onError=new Dl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,s){return t.apply(e,n)}}let la=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{ta.assertNotInAngularZone(),Xl(()=>{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())Xl(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let s=-1;e&&e>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==s),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Kn(ta))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),aa=(()=>{class t{constructor(){this._applications=new Map,ha.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return ha.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class ca{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let ua,ha=new ca,da=!0,fa=!1;const pa=new Rn("AllowMultipleToken");function ga(t,e,n=[]){const s=`Platform: ${e}`,r=new Rn(s);return(e=[])=>{let i=_a();if(!i||i.injector.get(pa,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:Jr,useValue:"platform"});!function(t){if(ua&&!ua.destroyed&&!ua.injector.get(pa,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ua=t.get(ya);const e=t.get(jl,null);e&&e.forEach(t=>t())}(ui.create({providers:t,name:s}))}return function(t){const e=_a();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function _a(){return ua&&!ua.destroyed?ua:null}let ya=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new oa:("zone.js"===t?void 0:t)||new ta({enableLongStackTrace:(fa=!0,da),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),s=[{provide:ta,useValue:n}];return n.run(()=>{const e=ui.create({providers:s,parent:this.injector,name:t.moduleType.name}),r=t.create(e),i=r.injector.get(ds,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{i.handleError(t)}});r.onDestroy(()=>{ba(this._modules,r),t.unsubscribe()})}),function(t,e,n){try{const s=n();return Ri(s)?s.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):s}catch(s){throw e.runOutsideAngular(()=>t.handleError(s)),s}}(i,n,()=>{const t=r.injector.get(Nl);return t.runInitializers(),t.donePromise.then(()=>(vo(r.injector.get(Bl,_o)||_o),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=va({},e);return function(t,e,n){const s=new kl(n);return Promise.resolve(s)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(ma);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${K(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Kn(ui))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function va(t,e){return Array.isArray(e)?e.reduce(va,t):Object.assign(Object.assign({},t),e)}let ma=(()=>{class t{constructor(t,e,n,s,r){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=r,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 i=new v(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new v(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{ta.assertNotInAngularZone(),Xl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ta.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=L(i,o.pipe(t=>{return B()((e=G,function(t){let n;n="function"==typeof e?e:function(){return e};const s=Object.create(t,q);return s.source=t,s.subjectFactory=n,s})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Oo?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const s=n.isBoundToModule?void 0:this._injector.get(ul),r=n.create(ui.NULL,[],e||n.selector,s),i=r.location.nativeElement,o=r.injector.get(la,null),l=o&&r.injector.get(aa);return o&&l&&l.registerApplication(i,o),r.onDestroy(()=>{this.detachView(r.hostView),ba(this.components,r),l&&l.unregisterApplication(i)}),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;ba(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Fl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Kn(ta),Kn(ui),Kn(ds),Kn(So),Kn(Nl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function ba(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Ca=ga(null,"core",[{provide:zl,useValue:"unknown"},{provide:ya,deps:[ui]},{provide:aa,deps:[]},{provide:Ll,deps:[]}]),wa=[{provide:ma,useClass:ma,deps:[ta,ui,ds,So,Nl]},{provide:bl,deps:[ta],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Nl,useClass:Nl,deps:[[new es,Hl]]},{provide:Kl,useClass:Kl,deps:[]},Pl,{provide:Ko,useFactory:function(){return rl},deps:[]},{provide:Xo,useFactory:function(){return il},deps:[]},{provide:Bl,useFactory:function(t){return vo(t=t||"undefined"!=typeof $localize&&$localize.locale||_o),t},deps:[[new ts(Bl),new es,new ns]]},{provide:$l,useValue:"USD"}];let Ea=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Kn(ma))},t.\u0275mod=$t({type:t}),t.\u0275inj=at({providers:wa}),t})(),xa=null;function ka(){return xa}const Aa=new Rn("DocumentToken");var Oa=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class Ia{}let Sa=(()=>{class t extends Ia{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=po(e);if(n)return n;const s=e.split("-")[0];if(n=po(s),n)return n;if("en"===s)return ho;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[go.PluralCase]}(e||this.locale)(t)){case Oa.Zero:return"zero";case Oa.One:return"one";case Oa.Two:return"two";case Oa.Few:return"few";case Oa.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Kn(Bl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Ta=(()=>{class t{constructor(t,e,n,s){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(bi(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${K(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(Ii(Ko),Ii(Xo),Ii(Ho),Ii(Mo))},t.\u0275dir=Zt({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class Va{constructor(t,e,n,s){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=s}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 Da=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,s)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Va(null,this._ngForOf,-1,-1),null===s?void 0:s),r=new Ha(t,n);e.push(r)}else if(null==s)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,s);const i=new Ha(t,r);e.push(i)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,s=this._viewContainer.length;n<s;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=s,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ii(dl),Ii(ll),Ii(Ko))},t.\u0275dir=Zt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Ha{constructor(t,e){this.record=t,this.view=e}}let Na=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Ma,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Pa("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Pa("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ii(dl),Ii(ll))},t.\u0275dir=Zt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Ma{constructor(){this.$implicit=null,this.ngIf=null}}function Pa(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${K(e)}'.`)}let Ra=(()=>{class t{transform(e,n,s){if(null==e)return null;if(!this.supports(e))throw function(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${K(t)}'`)}(t,e);return e.slice(n,s)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=qt({name:"slice",type:t,pure:!1}),t})(),ja=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=at({providers:[{provide:Ia,useClass:Sa}]}),t})();class za extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new za,xa||(xa=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||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,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=La||(La=document.querySelector("base"),La)?La.getAttribute("href"):null;return null==e?null:(n=e,Fa||(Fa=document.createElement("a")),Fa.setAttribute("href",n),"/"===Fa.pathname.charAt(0)?Fa.pathname:"/"+Fa.pathname);var n}resetBaseElement(){La=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[s,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(s.trim()===e)return decodeURIComponent(r)}return null}(document.cookie,t)}}let Fa,La=null;const Ba=new Rn("TRANSITION_ID"),$a=[{provide:Hl,useFactory:function(t,e,n){return()=>{n.get(Nl).donePromise.then(()=>{const n=ka();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Ba,Aa,ui],multi:!0}];class Ua{static init(){var t;t=new Ua,ha=t}addToWindow(t){Ot.getAngularTestability=(e,n=!0)=>{const s=t.findTestabilityInTree(e,n);if(null==s)throw new Error("Could not find testability for element.");return s},Ot.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ot.getAllAngularRootElements=()=>t.getAllRootElements(),Ot.frameworkStabilizers||(Ot.frameworkStabilizers=[]),Ot.frameworkStabilizers.push(t=>{const e=Ot.getAllAngularTestabilities();let n=e.length,s=!1;const r=function(e){s=s||e,n--,0==n&&t(s)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?ka().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Za=new Rn("EventManagerPlugins");let qa=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let s=0;s<n.length;s++){const e=n[s];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(Kn(Za),Kn(ta))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class Wa{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const s=ka().getGlobalEventTarget(this._doc,t);if(!s)throw new Error(`Unsupported event target ${s} for event ${e}`);return this.addEventListener(s,e,n)}}let Ga=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Qa=(()=>{class t extends Ga{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>ka().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Kn(Aa))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Ja={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/"},Ka=/%COMP%/g;function Ya(t,e,n){for(let s=0;s<e.length;s++){let r=e[s];Array.isArray(r)?Ya(t,r,n):(r=r.replace(Ka,t),n.push(r))}return n}function Xa(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let tc=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ec(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case wt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new nc(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case wt.ShadowDom:return new sc(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Ya(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Kn(qa),Kn(Qa),Kn(Ml))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class ec{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Ja[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,s){if(s){e=s+":"+e;const r=Ja[s];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const s=Ja[n];s?t.removeAttributeNS(s,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,s){s&(ys.DashCase|ys.Important)?t.style.setProperty(e,n,s&ys.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ys.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Xa(n)):this.eventManager.addEventListener(t,e,Xa(n))}}class nc extends ec{constructor(t,e,n,s){super(t),this.component=n;const r=Ya(s+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(Ka,s+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Ka,s+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class sc extends ec{constructor(t,e,n,s){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=Ya(s.id,s.styles,[]);for(let i=0;i<r.length;i++){const t=document.createElement("style");t.textContent=r[i],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let rc=(()=>{class t extends Wa{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(Kn(Aa))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const ic=["alt","control","meta","shift"],oc={"\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"},lc={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"},ac={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let cc=(()=>{class t extends Wa{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const r=t.parseEventName(n),i=t.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ka().onAndCancel(e,r.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const r=t._normalizeKey(n.pop());let i="";if(ic.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=s,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&lc.hasOwnProperty(e)&&(e=lc[e]))}return oc[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),ic.forEach(s=>{s!=n&&(0,ac[s])(t)&&(e+=s+".")}),e+=n,e}static eventCallback(e,n,s){return r=>{t.getEventFullKey(r)===e&&s.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Kn(Aa))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const uc=ga(Ca,"browser",[{provide:zl,useValue:"browser"},{provide:jl,useValue:function(){za.makeCurrent(),Ua.init()},multi:!0},{provide:Aa,useFactory:function(){return function(t){he=t}(document),document},deps:[]}]),hc=[[],{provide:Jr,useValue:"root"},{provide:ds,useFactory:function(){return new ds},deps:[]},{provide:Za,useClass:rc,multi:!0,deps:[Aa,ta,zl]},{provide:Za,useClass:cc,multi:!0,deps:[Aa]},[],{provide:tc,useClass:tc,deps:[qa,Qa,Ml]},{provide:No,useExisting:tc},{provide:Ga,useExisting:Qa},{provide:Qa,useClass:Qa,deps:[Aa]},{provide:la,useClass:la,deps:[ta]},{provide:qa,useClass:qa,deps:[Za,ta]},[]];let dc=(()=>{class t{constructor(t){if(t)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(e){return{ngModule:t,providers:[{provide:Ml,useValue:e.appId},{provide:Ba,useExisting:Ml},$a]}}}return t.\u0275fac=function(e){return new(e||t)(Kn(t,12))},t.\u0275mod=$t({type:t}),t.\u0275inj=at({providers:hc,imports:[ja,Ea]}),t})();function fc(t,e){return new v(n=>{const s=t.length;if(0===s)return void n.complete();const r=new Array(s);let i=0,o=0;for(let l=0;l<s;l++){const a=M(t[l]);let c=!1;n.add(a.subscribe({next:t=>{c||(c=!0,o++),r[l]=t},error:t=>n.error(t),complete:()=>{i++,i!==s&&c||(o===s&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}"undefined"!=typeof window&&window;class pc{}const gc=new Rn("NgValueAccessor"),_c={provide:gc,useExisting:tt(()=>vc),multi:!0},yc=new Rn("CompositionEventMode");let vc=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=ka()?ka().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(Ii(Mo),Ii(Ho),Ii(yc,8))},t.\u0275dir=Zt({type:t,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(t,e){1&t&&ji("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[Ao([_c])]}),t})();const mc=new Rn("NgValidators"),bc=new Rn("NgAsyncValidators");function Cc(t){return null!=t}function wc(t){const e=Ri(t)?M(t):t;return e,e}function Ec(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function xc(t,e){return e.map(e=>e(t))}function kc(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function Ac(t){return null!=t?function(t){if(!t)return null;const e=t.filter(Cc);return 0==e.length?null:function(t){return Ec(xc(t,e))}}(kc(t)):null}function Oc(t){return null!=t?function(t){if(!t)return null;const e=t.filter(Cc);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(a(e))return fc(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return fc(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return fc(t=1===t.length&&a(t[0])?t[0]:t,null).pipe(k(t=>e(...t)))}return fc(t,null)}(xc(t,e).map(wc)).pipe(k(Ec))}}(kc(t)):null}function Ic(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}let Sc=(()=>{class t{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=Ac(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Oc(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,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Zt({type:t}),t})(),Tc=(()=>{class t extends Sc{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return Vc(e||t)},t.\u0275dir=Zt({type:t,features:[di]}),t})();const Vc=Hn(Tc);class Dc extends Sc{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let Hc=(()=>{class t extends class{constructor(t){this._cd=t}is(t){var e,n;return!!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n?void 0:n[t])}}{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Ii(Dc,2))},t.\u0275dir=Zt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&Ji("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[di]}),t})();function Nc(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Mc(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Pc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Rc="VALID",jc="INVALID",zc="PENDING",Fc="DISABLED";function Lc(t){return(Zc(t)?t.validators:t)||null}function Bc(t){return Array.isArray(t)?Ac(t):t||null}function $c(t,e){return(Zc(e)?e.asyncValidators:t)||null}function Uc(t){return Array.isArray(t)?Oc(t):t||null}function Zc(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class qc{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Bc(this._rawValidators),this._composedAsyncValidatorFn=Uc(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===Rc}get invalid(){return this.status===jc}get pending(){return this.status==zc}get disabled(){return this.status===Fc}get enabled(){return this.status!==Fc}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=Bc(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Uc(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(t=>{t.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(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=zc,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Fc,this.errors=null,this._forEachChild(e=>{e.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:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Rc,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!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!==Rc&&this.status!==zc||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(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Fc:Rc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=zc,this._hasOwnPendingAsyncValidator=!0;const e=wc(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let s=t;return e.forEach(t=>{s=s instanceof Gc?s.controls.hasOwnProperty(t)?s.controls[t]:null:s instanceof Qc&&s.at(t)||null}),s}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}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 Dl,this.statusChanges=new Dl}_calculateStatus(){return this._allControlsDisabled()?Fc:this.errors?jc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zc)?zc:this._anyControlsHaveStatus(jc)?jc:Rc}_anyControlsHaveStatus(t){return this._anyControls(e=>e.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){Zc(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Wc extends qc{constructor(t=null,e,n){super(Lc(e),$c(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Pc(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Pc(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 Gc extends qc{constructor(t,e,n){super(Lc(e),$c(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,s)=>{n.reset(t[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof Wc?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,s)=>{n=e(n,t,s)}),n}_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}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class Qc extends qc{constructor(t,e,n){super(Lc(e),$c(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,s)=>{n.reset(t[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof Wc?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_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 Jc={provide:Dc,useExisting:tt(()=>Yc)},Kc=(()=>Promise.resolve(null))();let Yc=(()=>{class t extends Dc{constructor(t,e,n,s){super(),this.control=new Wc,this._registered=!1,this.update=new Dl,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=function(t,e){if(!e)return null;let n,s,r;return Array.isArray(e),e.forEach(t=>{t.constructor===vc?n=t:Object.getPrototypeOf(t.constructor)===pc?s=t:r=t}),r||s||n||null}(0,s)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?[...this._parent.path,this.name]:[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){var t,e;(function(t,e,n){const s=function(t){return t._rawValidators}(t);null!==e.validator?t.setValidators(Ic(s,e.validator)):"function"==typeof s&&t.setValidators([s]);const r=function(t){return t._rawAsyncValidators}(t);null!==e.asyncValidator?t.setAsyncValidators(Ic(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);{const n=()=>t.updateValueAndValidity();Nc(e._rawValidators,n),Nc(e._rawAsyncValidators,n)}})(t=this.control,e=this),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Mc(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Mc(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e),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(t){Kc.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;Kc.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(Ii(Tc,9),Ii(mc,10),Ii(bc,10),Ii(gc,10))},t.\u0275dir=Zt({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ao([Jc]),di,ie]}),t})(),Xc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=at({}),t})();const tu={provide:gc,useExisting:tt(()=>eu),multi:!0};let eu=(()=>{class t extends pc{constructor(t,e){super(),this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Ii(Mo),Ii(Ho))},t.\u0275dir=Zt({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&ji("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[Ao([tu]),di]}),t})();const nu={provide:gc,useExisting:tt(()=>ru),multi:!0};function su(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let ru=(()=>{class t extends pc{constructor(t,e){super(),this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=su(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(Ii(Mo),Ii(Ho))},t.\u0275dir=Zt({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&ji("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ao([nu]),di]}),t})(),iu=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(su(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(Ii(Ho),Ii(Mo),Ii(ru,9))},t.\u0275dir=Zt({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const ou={provide:gc,useExisting:tt(()=>au),multi:!0};function lu(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let au=(()=>{class t extends pc{constructor(t,e){super(),this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const s=t.item(e),r=this._getOptionValue(s.value);n.push(r)}}else{const t=e.options;for(let e=0;e<t.length;e++){const s=t.item(e);if(s.selected){const t=this._getOptionValue(s.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)(Ii(Mo),Ii(Ho))},t.\u0275dir=Zt({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&ji("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ao([ou]),di]}),t})(),cu=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(lu(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(lu(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(Ii(Ho),Ii(Mo),Ii(au,9))},t.\u0275dir=Zt({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})(),uu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=at({imports:[[Xc]]}),t})(),hu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=at({imports:[uu]}),t})();class du{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class fu{constructor(){this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class pu{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}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}}class gu{static roundNumber(t,e){return Math.floor(t*Math.pow(10,e))/Math.pow(10,e)}static getNthOrLastIndexOf(t,e,n){let s=0,r=-1,i=-1;for(;s<n&&(i=t.indexOf(e,r+1),-1!==i);)r=i,s++;return r}}class _u{constructor(){this.name="",this.coveredLines=0,this.uncoveredLines=0,this.coverableLines=0,this.totalLines=0,this.coveredBranches=0,this.totalBranches=0}get coverage(){return 0===this.coverableLines?NaN:gu.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:gu.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}}class yu extends _u{constructor(t,e){super(),this.reportPath="",this._coverageType="",this.methodCoverage="",this.lineCoverageHistory=[],this.branchCoverageHistory=[],this.historicCoverages=[],this.currentHistoricCoverage=null,this.name=t.name,this.reportPath=t.rp?t.rp+e:t.rp,this.coveredLines=t.cl,this.uncoveredLines=t.ucl,this.coverableLines=t.cal,this.totalLines=t.tl,this._coverageType=t.ct,this.methodCoverage=t.mc,this.coveredBranches=t.cb,this.totalBranches=t.tb,this.lineCoverageHistory=t.lch,this.branchCoverageHistory=t.bch,t.hc.forEach(t=>{this.historicCoverages.push(new pu(t))})}get coverage(){return 0===this.coverableLines?"-"!==this.methodCoverage?parseFloat(this.methodCoverage):NaN:gu.roundNumber(100*this.coveredLines/this.coverableLines,1)}get coverageType(){return 0===this.coverableLines?"-"!==this.methodCoverage?this._coverageType:"":this._coverageType}visible(t,e){if(""!==t&&-1===this.name.toLowerCase().indexOf(t.toLowerCase()))return!1;if(""===e||null===this.currentHistoricCoverage)return!0;if("allChanges"===e){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)return!1}else if("lineCoverageIncreaseOnly"===e){let t=this.coverage;if(isNaN(t)||t<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===e){let t=this.coverage;if(isNaN(t)||t>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===e){let t=this.branchCoverage;if(isNaN(t)||t<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===e){let t=this.branchCoverage;if(isNaN(t)||t>=this.currentHistoricCoverage.bcq)return!1}return!0}updateCurrentHistoricCoverage(t){if(this.currentHistoricCoverage=null,""!==t)for(let e=0;e<this.historicCoverages.length;e++)if(this.historicCoverages[e].et===t){this.currentHistoricCoverage=this.historicCoverages[e];break}}}class vu extends _u{constructor(t,e){super(),this.subElements=[],this.classes=[],this.collapsed=!1,this.name=t,this.collapsed=t.indexOf("Test")>-1&&null===e}visible(t,e){if(""!==t&&this.name.toLowerCase().indexOf(t.toLowerCase())>-1)return!0;for(let n=0;n<this.subElements.length;n++)if(this.subElements[n].visible(t,e))return!0;for(let n=0;n<this.classes.length;n++)if(this.classes[n].visible(t,e))return!0;return!1}insertClass(t,e){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,null===e)return void this.classes.push(t);let n=gu.getNthOrLastIndexOf(t.name,".",e),s=-1===n?"-":t.name.substr(0,n);for(let i=0;i<this.subElements.length;i++)if(this.subElements[i].name===s)return void this.subElements[i].insertClass(t,null);let r=new vu(s,this);this.subElements.push(r),r.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 e=0;e<this.subElements.length;e++)this.subElements[e].updateCurrentHistoricCoverage(t);for(let e=0;e<this.classes.length;e++)this.classes[e].updateCurrentHistoricCoverage(t)}static sortCodeElementViewModels(t,e,n){let s=n?-1:1,r=n?1:-1;"name"===e?t.sort(function(t,e){return t.name===e.name?0:t.name<e.name?s:r}):"covered"===e?t.sort(function(t,e){return t.coveredLines===e.coveredLines?0:t.coveredLines<e.coveredLines?s:r}):"uncovered"===e?t.sort(function(t,e){return t.uncoveredLines===e.uncoveredLines?0:t.uncoveredLines<e.uncoveredLines?s:r}):"coverable"===e?t.sort(function(t,e){return t.coverableLines===e.coverableLines?0:t.coverableLines<e.coverableLines?s:r}):"total"===e?t.sort(function(t,e){return t.totalLines===e.totalLines?0:t.totalLines<e.totalLines?s:r}):"coverage"===e?t.sort(function(t,e){return t.coverage===e.coverage?0:isNaN(t.coverage)?s:isNaN(e.coverage)?r:t.coverage<e.coverage?s:r}):"branchcoverage"===e&&t.sort(function(t,e){return t.branchCoverage===e.branchCoverage?0:isNaN(t.branchCoverage)?s:isNaN(e.branchCoverage)?r:t.branchCoverage<e.branchCoverage?s:r})}changeSorting(t,e){vu.sortCodeElementViewModels(this.subElements,t,e);let n=e?-1:1,s=e?1:-1;"name"===t?this.classes.sort(function(t,e){return t.name===e.name?0:t.name<e.name?n:s}):"covered"===t?this.classes.sort(function(t,e){return t.coveredLines===e.coveredLines?0:t.coveredLines<e.coveredLines?n:s}):"uncovered"===t?this.classes.sort(function(t,e){return t.uncoveredLines===e.uncoveredLines?0:t.uncoveredLines<e.uncoveredLines?n:s}):"coverable"===t?this.classes.sort(function(t,e){return t.coverableLines===e.coverableLines?0:t.coverableLines<e.coverableLines?n:s}):"total"===t?this.classes.sort(function(t,e){return t.totalLines===e.totalLines?0:t.totalLines<e.totalLines?n:s}):"coverage"===t?this.classes.sort(function(t,e){return t.coverage===e.coverage?0:isNaN(t.coverage)?n:isNaN(e.coverage)?s:t.coverage<e.coverage?n:s}):"covered_branches"===t?this.classes.sort(function(t,e){return t.coveredBranches===e.coveredBranches?0:t.coveredBranches<e.coveredBranches?n:s}):"total_branches"===t?this.classes.sort(function(t,e){return t.totalBranches===e.totalBranches?0:t.totalBranches<e.totalBranches?n:s}):"branchcoverage"===t&&this.classes.sort(function(t,e){return t.branchCoverage===e.branchCoverage?0:isNaN(t.branchCoverage)?n:isNaN(e.branchCoverage)?s:t.branchCoverage<e.branchCoverage?n:s});for(let r=0;r<this.subElements.length;r++)this.subElements[r].changeSorting(t,e)}}let mu=(()=>{class t{get nativeWindow(){return window}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function bu(t,e){1&t&&Hi(0,"td",3)}function Cu(t,e){1&t&&Hi(0,"td"),2&t&&co("green ",Li().greenClass,"")}function wu(t,e){1&t&&Hi(0,"td"),2&t&&co("red ",Li().redClass,"")}let Eu=(()=>{class t{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=zt({type:t,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(t,e){1&t&&(Vi(0,"table",0),Oi(1,bu,1,0,"td",1),Oi(2,Cu,1,3,"td",2),Oi(3,wu,1,3,"td",2),Di()),2&t&&(tr(1),Si("ngIf",e.grayVisible),tr(1),Si("ngIf",e.greenVisible),tr(1),Si("ngIf",e.redVisible))},directives:[Na],encapsulation:2,changeDetection:0}),t})();const xu=["codeelement-row",""];function ku(t,e){if(1&t&&(Vi(0,"th",2),oo(1),Di()),2&t){const t=Li();tr(1),lo(t.element.coveredBranches)}}function Au(t,e){if(1&t&&(Vi(0,"th",2),oo(1),Di()),2&t){const t=Li();tr(1),lo(t.element.totalBranches)}}function Ou(t,e){if(1&t&&(Vi(0,"th",3),oo(1),Di()),2&t){const t=Li();Si("title",t.element.branchCoverageRatioText),tr(1),lo(t.element.branchCoveragePercentage)}}function Iu(t,e){if(1&t&&(Vi(0,"th",2),Hi(1,"coverage-bar",4),Di()),2&t){const t=Li();tr(1),Si("percentage",t.element.branchCoverage)}}const Su=function(t,e){return{"icon-plus":t,"icon-minus":e}};let Tu=(()=>{class t{constructor(){this.collapsed=!1,this.branchCoverageAvailable=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=zt({type:t,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",branchCoverageAvailable:"branchCoverageAvailable"},attrs:xu,decls:20,vars:16,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(t,e){1&t&&(Vi(0,"th"),Vi(1,"a",0),ji("click",function(t){return e.element.toggleCollapse(t)}),Hi(2,"i",1),oo(3),Di(),Di(),Vi(4,"th",2),oo(5),Di(),Vi(6,"th",2),oo(7),Di(),Vi(8,"th",2),oo(9),Di(),Vi(10,"th",2),oo(11),Di(),Vi(12,"th",3),oo(13),Di(),Vi(14,"th",2),Hi(15,"coverage-bar",4),Di(),Oi(16,ku,2,1,"th",5),Oi(17,Au,2,1,"th",5),Oi(18,Ou,2,2,"th",6),Oi(19,Iu,2,1,"th",5)),2&t&&(tr(2),Si("ngClass",Ol(13,Su,e.element.collapsed,!e.element.collapsed)),tr(1),ao(" ",e.element.name,""),tr(2),lo(e.element.coveredLines),tr(2),lo(e.element.uncoveredLines),tr(2),lo(e.element.coverableLines),tr(2),lo(e.element.totalLines),tr(1),Si("title",e.element.coverageRatioText),tr(1),lo(e.element.coveragePercentage),tr(2),Si("percentage",e.element.coverage),tr(1),Si("ngIf",e.branchCoverageAvailable),tr(1),Si("ngIf",e.branchCoverageAvailable),tr(1),Si("ngIf",e.branchCoverageAvailable),tr(1),Si("ngIf",e.branchCoverageAvailable))},directives:[Ta,Eu,Na],encapsulation:2,changeDetection:0}),t})();const Vu=["coverage-history-chart",""];let Du=(()=>{class t{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let e="";for(let n=0;n<t.length;n++)e+=0===n?"M":"L",e+=`${gu.roundNumber(30*n/(t.length-1),1)}`,e+=`,${gu.roundNumber(18-18*t[n]/100,1)}`;this.path=e}else this.path=null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=zt({type:t,selectors:[["","coverage-history-chart",""]],inputs:{historicCoverages:"historicCoverages"},attrs:Vu,decls:3,vars:1,consts:[["width","30","height","18",1,"ct-chart-line"],[1,"ct-series","ct-series-a"],[1,"ct-line"]],template:function(t,e){1&t&&(xe.lFrame.currentNamespace=ue,Vi(0,"svg",0),Vi(1,"g",1),Hi(2,"path",2),Di(),Di()),2&t&&(tr(2),ki("d",e.path))},encapsulation:2,changeDetection:0}),t})();const Hu=["class-row",""];function Nu(t,e){if(1&t&&(Vi(0,"a",8),oo(1),Di()),2&t){const t=Li();Si("href",t.clazz.reportPath,as),tr(1),lo(t.clazz.name)}}function Mu(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li();tr(1),lo(t.clazz.name)}}function Pu(t,e){if(1&t&&(Ni(0),Vi(1,"div"),oo(2),Di(),Vi(3,"div",9),oo(4),Di(),Mi()),2&t){const t=Li();tr(1),co("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),tr(1),ao(" ",t.clazz.coveredLines," "),tr(1),Si("title",t.clazz.currentHistoricCoverage.et),tr(1),ao(" ",t.clazz.currentHistoricCoverage.cl," ")}}function Ru(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li();tr(1),ao(" ",t.clazz.coveredLines," ")}}function ju(t,e){if(1&t&&(Ni(0),Vi(1,"div"),oo(2),Di(),Vi(3,"div",9),oo(4),Di(),Mi()),2&t){const t=Li();tr(1),co("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),tr(1),ao(" ",t.clazz.uncoveredLines," "),tr(1),Si("title",t.clazz.currentHistoricCoverage.et),tr(1),ao(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function zu(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li();tr(1),ao(" ",t.clazz.uncoveredLines," ")}}function Fu(t,e){if(1&t&&(Ni(0),Vi(1,"div",10),oo(2),Di(),Vi(3,"div",9),oo(4),Di(),Mi()),2&t){const t=Li();tr(2),lo(t.clazz.coverableLines),tr(1),Si("title",t.clazz.currentHistoricCoverage.et),tr(1),lo(t.clazz.currentHistoricCoverage.cal)}}function Lu(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li();tr(1),ao(" ",t.clazz.coverableLines," ")}}function Bu(t,e){if(1&t&&(Ni(0),Vi(1,"div",10),oo(2),Di(),Vi(3,"div",9),oo(4),Di(),Mi()),2&t){const t=Li();tr(2),lo(t.clazz.totalLines),tr(1),Si("title",t.clazz.currentHistoricCoverage.et),tr(1),lo(t.clazz.currentHistoricCoverage.tl)}}function $u(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li();tr(1),ao(" ",t.clazz.totalLines," ")}}const Uu=function(t){return{historiccoverageoffset:t}};function Zu(t,e){if(1&t&&Hi(0,"div",11),2&t){const t=Li();Bi("title",t.translations.history+": "+t.translations.coverage),Si("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Al(3,Uu,null!==t.clazz.currentHistoricCoverage))}}function qu(t,e){if(1&t&&(Ni(0),Vi(1,"div"),oo(2),Di(),Vi(3,"div",9),oo(4),Di(),Mi()),2&t){const t=Li();tr(1),co("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),tr(1),ao(" ",t.clazz.coveragePercentage," "),tr(1),Si("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),tr(1),ao("",t.clazz.currentHistoricCoverage.lcq,"%")}}function Wu(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li();tr(1),ao(" ",t.clazz.coveragePercentage," ")}}function Gu(t,e){if(1&t&&(Ni(0),Vi(1,"div"),oo(2),Di(),Vi(3,"div",9),oo(4),Di(),Mi()),2&t){const t=Li(2);tr(1),co("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),tr(1),ao(" ",t.clazz.coveredBranches," "),tr(1),Si("title",t.clazz.currentHistoricCoverage.et),tr(1),ao(" ",t.clazz.currentHistoricCoverage.cb," ")}}function Qu(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li(2);tr(1),ao(" ",t.clazz.coveredBranches," ")}}function Ju(t,e){if(1&t&&(Vi(0,"td",2),Oi(1,Gu,5,6,"ng-container",1),Oi(2,Qu,2,1,"ng-container",1),Di()),2&t){const t=Li();tr(1),Si("ngIf",null!==t.clazz.currentHistoricCoverage),tr(1),Si("ngIf",null===t.clazz.currentHistoricCoverage)}}function Ku(t,e){if(1&t&&(Ni(0),Vi(1,"div",10),oo(2),Di(),Vi(3,"div",9),oo(4),Di(),Mi()),2&t){const t=Li(2);tr(2),lo(t.clazz.totalBranches),tr(1),Si("title",t.clazz.currentHistoricCoverage.et),tr(1),lo(t.clazz.currentHistoricCoverage.tb)}}function Yu(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li(2);tr(1),ao(" ",t.clazz.totalBranches," ")}}function Xu(t,e){if(1&t&&(Vi(0,"td",2),Oi(1,Ku,5,3,"ng-container",1),Oi(2,Yu,2,1,"ng-container",1),Di()),2&t){const t=Li();tr(1),Si("ngIf",null!==t.clazz.currentHistoricCoverage),tr(1),Si("ngIf",null===t.clazz.currentHistoricCoverage)}}function th(t,e){if(1&t&&Hi(0,"div",13),2&t){const t=Li(2);Bi("title",t.translations.history+": "+t.translations.branchCoverage),Si("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Al(3,Uu,null!==t.clazz.currentHistoricCoverage))}}function eh(t,e){if(1&t&&(Ni(0),Vi(1,"div"),oo(2),Di(),Vi(3,"div",9),oo(4),Di(),Mi()),2&t){const t=Li(2);tr(1),co("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),tr(1),ao(" ",t.clazz.branchCoveragePercentage," "),tr(1),Si("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),tr(1),ao("",t.clazz.currentHistoricCoverage.bcq,"%")}}function nh(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li(2);tr(1),ao(" ",t.clazz.branchCoveragePercentage," ")}}function sh(t,e){if(1&t&&(Vi(0,"td",3),Oi(1,th,1,5,"div",12),Oi(2,eh,5,6,"ng-container",1),Oi(3,nh,2,1,"ng-container",1),Di()),2&t){const t=Li();Si("title",t.clazz.branchCoverageRatioText),tr(1),Si("ngIf",t.clazz.branchCoverageHistory.length>1),tr(1),Si("ngIf",null!==t.clazz.currentHistoricCoverage),tr(1),Si("ngIf",null===t.clazz.currentHistoricCoverage)}}function rh(t,e){if(1&t&&(Vi(0,"td",2),Hi(1,"coverage-bar",5),Di()),2&t){const t=Li();tr(1),Si("percentage",t.clazz.branchCoverage)}}let ih=(()=>{class t{constructor(){this.translations={},this.branchCoverageAvailable=!1,this.historyComparisionDate=""}getClassName(t,e){return t>e?"lightgreen":t<e?"lightred":"lightgraybg"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=zt({type:t,selectors:[["","class-row",""]],inputs:{clazz:"clazz",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",historyComparisionDate:"historyComparisionDate"},attrs:Hu,decls:25,vars:19,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"]],template:function(t,e){1&t&&(Vi(0,"td"),Oi(1,Nu,2,2,"a",0),Oi(2,Mu,2,1,"ng-container",1),Di(),Vi(3,"td",2),Oi(4,Pu,5,6,"ng-container",1),Oi(5,Ru,2,1,"ng-container",1),Di(),Vi(6,"td",2),Oi(7,ju,5,6,"ng-container",1),Oi(8,zu,2,1,"ng-container",1),Di(),Vi(9,"td",2),Oi(10,Fu,5,3,"ng-container",1),Oi(11,Lu,2,1,"ng-container",1),Di(),Vi(12,"td",2),Oi(13,Bu,5,3,"ng-container",1),Oi(14,$u,2,1,"ng-container",1),Di(),Vi(15,"td",3),Oi(16,Zu,1,5,"div",4),Oi(17,qu,5,6,"ng-container",1),Oi(18,Wu,2,1,"ng-container",1),Di(),Vi(19,"td",2),Hi(20,"coverage-bar",5),Di(),Oi(21,Ju,3,2,"td",6),Oi(22,Xu,3,2,"td",6),Oi(23,sh,4,4,"td",7),Oi(24,rh,2,1,"td",6)),2&t&&(tr(1),Si("ngIf",""!==e.clazz.reportPath),tr(1),Si("ngIf",""===e.clazz.reportPath),tr(2),Si("ngIf",null!==e.clazz.currentHistoricCoverage),tr(1),Si("ngIf",null===e.clazz.currentHistoricCoverage),tr(2),Si("ngIf",null!==e.clazz.currentHistoricCoverage),tr(1),Si("ngIf",null===e.clazz.currentHistoricCoverage),tr(2),Si("ngIf",null!==e.clazz.currentHistoricCoverage),tr(1),Si("ngIf",null===e.clazz.currentHistoricCoverage),tr(2),Si("ngIf",null!==e.clazz.currentHistoricCoverage),tr(1),Si("ngIf",null===e.clazz.currentHistoricCoverage),tr(1),Si("title",e.clazz.coverageType+": "+e.clazz.coverageRatioText),tr(1),Si("ngIf",e.clazz.lineCoverageHistory.length>1),tr(1),Si("ngIf",null!==e.clazz.currentHistoricCoverage),tr(1),Si("ngIf",null===e.clazz.currentHistoricCoverage),tr(2),Si("percentage",e.clazz.coverage),tr(1),Si("ngIf",e.branchCoverageAvailable),tr(1),Si("ngIf",e.branchCoverageAvailable),tr(1),Si("ngIf",e.branchCoverageAvailable),tr(1),Si("ngIf",e.branchCoverageAvailable))},directives:[Na,Eu,Du,Ta],encapsulation:2,changeDetection:0}),t})();function oh(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li(2);tr(1),lo(t.translations.noGrouping)}}function lh(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li(2);tr(1),lo(t.translations.byAssembly)}}function ah(t,e){if(1&t&&(Ni(0),oo(1),Mi()),2&t){const t=Li(2);tr(1),lo(t.translations.byNamespace+" "+t.settings.grouping)}}function ch(t,e){if(1&t&&(Vi(0,"option",26),oo(1),Di()),2&t){const t=e.$implicit;Si("value",t),tr(1),lo(t)}}function uh(t,e){1&t&&Hi(0,"br")}function hh(t,e){if(1&t&&(Vi(0,"option",32),oo(1),Di()),2&t){const t=Li(4);tr(1),ao(" ",t.translations.branchCoverageIncreaseOnly," ")}}function dh(t,e){if(1&t&&(Vi(0,"option",33),oo(1),Di()),2&t){const t=Li(4);tr(1),ao(" ",t.translations.branchCoverageDecreaseOnly," ")}}function fh(t,e){if(1&t){const t=Pi();Vi(0,"div"),Vi(1,"select",23),ji("ngModelChange",function(e){return Ie(t),Li(3).settings.historyComparisionType=e}),Vi(2,"option",24),oo(3),Di(),Vi(4,"option",27),oo(5),Di(),Vi(6,"option",28),oo(7),Di(),Vi(8,"option",29),oo(9),Di(),Oi(10,hh,2,1,"option",30),Oi(11,dh,2,1,"option",31),Di(),Di()}if(2&t){const t=Li(3);tr(1),Si("ngModel",t.settings.historyComparisionType),tr(2),lo(t.translations.filter),tr(2),lo(t.translations.allChanges),tr(2),lo(t.translations.lineCoverageIncreaseOnly),tr(2),lo(t.translations.lineCoverageDecreaseOnly),tr(1),Si("ngIf",t.branchCoverageAvailable),tr(1),Si("ngIf",t.branchCoverageAvailable)}}function ph(t,e){if(1&t){const t=Pi();Ni(0),Vi(1,"div"),oo(2),Vi(3,"select",23),ji("ngModelChange",function(e){return Ie(t),Li(2).settings.historyComparisionDate=e})("ngModelChange",function(){return Ie(t),Li(2).updateCurrentHistoricCoverage()}),Vi(4,"option",24),oo(5),Di(),Oi(6,ch,2,2,"option",25),Di(),Di(),Oi(7,uh,1,0,"br",0),Oi(8,fh,12,7,"div",0),Mi()}if(2&t){const t=Li(2);tr(2),ao(" ",t.translations.compareHistory," "),tr(1),Si("ngModel",t.settings.historyComparisionDate),tr(2),lo(t.translations.date),tr(1),Si("ngForOf",t.historicCoverageExecutionTimes),tr(1),Si("ngIf",""!==t.settings.historyComparisionDate),tr(1),Si("ngIf",""!==t.settings.historyComparisionDate)}}function gh(t,e){1&t&&Hi(0,"col",8)}function _h(t,e){1&t&&Hi(0,"col",11)}function yh(t,e){1&t&&Hi(0,"col",12)}function vh(t,e){1&t&&Hi(0,"col",13)}const mh=function(t,e,n){return{"icon-up-dir_active":t,"icon-down-dir_active":e,"icon-down-dir":n}};function bh(t,e){if(1&t){const t=Pi();Vi(0,"th",5),Vi(1,"a",2),ji("click",function(e){return Ie(t),Li(2).updateSorting("covered_branches",e)}),Hi(2,"i",18),oo(3),Di(),Di()}if(2&t){const t=Li(2);tr(2),Si("ngClass",Il(2,mh,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),tr(1),lo(t.translations.covered)}}function Ch(t,e){if(1&t){const t=Pi();Vi(0,"th",5),Vi(1,"a",2),ji("click",function(e){return Ie(t),Li(2).updateSorting("total_branches",e)}),Hi(2,"i",18),oo(3),Di(),Di()}if(2&t){const t=Li(2);tr(2),Si("ngClass",Il(2,mh,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),tr(1),lo(t.translations.total)}}function wh(t,e){if(1&t){const t=Pi();Vi(0,"th",19),Vi(1,"a",2),ji("click",function(e){return Ie(t),Li(2).updateSorting("branchcoverage",e)}),Hi(2,"i",18),oo(3),Di(),Di()}if(2&t){const t=Li(2);tr(2),Si("ngClass",Il(2,mh,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),tr(1),lo(t.translations.branchCoverage)}}function Eh(t,e){if(1&t&&Hi(0,"tr",35),2&t){const t=Li().$implicit,e=Li(2);Si("element",t)("collapsed",t.collapsed)("branchCoverageAvailable",e.branchCoverageAvailable)}}function xh(t,e){if(1&t&&Hi(0,"tr",37),2&t){const t=Li().$implicit,e=Li(3);Si("clazz",t)("translations",e.translations)("branchCoverageAvailable",e.branchCoverageAvailable)("historyComparisionDate",e.settings.historyComparisionDate)}}function kh(t,e){if(1&t&&(Ni(0),Oi(1,xh,1,4,"tr",36),Mi()),2&t){const t=e.$implicit,n=Li().$implicit,s=Li(2);tr(1),Si("ngIf",!n.collapsed&&t.visible(s.settings.filter,s.settings.historyComparisionType))}}function Ah(t,e){if(1&t&&Hi(0,"tr",40),2&t){const t=Li().$implicit,e=Li(5);Si("clazz",t)("translations",e.translations)("branchCoverageAvailable",e.branchCoverageAvailable)("historyComparisionDate",e.settings.historyComparisionDate)}}function Oh(t,e){if(1&t&&(Ni(0),Oi(1,Ah,1,4,"tr",39),Mi()),2&t){const t=e.$implicit,n=Li(2).$implicit,s=Li(3);tr(1),Si("ngIf",!n.collapsed&&t.visible(s.settings.filter,s.settings.historyComparisionType))}}function Ih(t,e){if(1&t&&(Ni(0),Hi(1,"tr",38),Oi(2,Oh,2,1,"ng-container",22),Mi()),2&t){const t=Li().$implicit,e=Li(3);tr(1),Si("element",t)("collapsed",t.collapsed)("branchCoverageAvailable",e.branchCoverageAvailable),tr(1),Si("ngForOf",t.classes)}}function Sh(t,e){if(1&t&&(Ni(0),Oi(1,Ih,3,4,"ng-container",0),Mi()),2&t){const t=e.$implicit,n=Li().$implicit,s=Li(2);tr(1),Si("ngIf",!n.collapsed&&t.visible(s.settings.filter,s.settings.historyComparisionType))}}function Th(t,e){if(1&t&&(Ni(0),Oi(1,Eh,1,3,"tr",34),Oi(2,kh,2,1,"ng-container",22),Oi(3,Sh,2,1,"ng-container",22),Mi()),2&t){const t=e.$implicit,n=Li(2);tr(1),Si("ngIf",t.visible(n.settings.filter,n.settings.historyComparisionType)),tr(1),Si("ngForOf",t.classes),tr(1),Si("ngForOf",t.subElements)}}function Vh(t,e){if(1&t){const t=Pi();Vi(0,"div"),Vi(1,"div",1),Vi(2,"div"),Vi(3,"a",2),ji("click",function(e){return Ie(t),Li().collapseAll(e)}),oo(4),Di(),oo(5," | "),Vi(6,"a",2),ji("click",function(e){return Ie(t),Li().expandAll(e)}),oo(7),Di(),Di(),Vi(8,"div",3),Oi(9,oh,2,1,"ng-container",0),Oi(10,lh,2,1,"ng-container",0),Oi(11,ah,2,1,"ng-container",0),Hi(12,"br"),oo(13),Vi(14,"input",4),ji("ngModelChange",function(e){return Ie(t),Li().settings.grouping=e})("ngModelChange",function(){return Ie(t),Li().updateCoverageInfo()}),Di(),Di(),Vi(15,"div",3),Oi(16,ph,9,6,"ng-container",0),Di(),Vi(17,"div",5),Vi(18,"span"),oo(19),Di(),Vi(20,"input",6),ji("ngModelChange",function(e){return Ie(t),Li().settings.filter=e}),Di(),Di(),Di(),Vi(21,"table",7),Vi(22,"colgroup"),Hi(23,"col"),Hi(24,"col",8),Hi(25,"col",9),Hi(26,"col",10),Hi(27,"col",11),Hi(28,"col",12),Hi(29,"col",13),Oi(30,gh,1,0,"col",14),Oi(31,_h,1,0,"col",15),Oi(32,yh,1,0,"col",16),Oi(33,vh,1,0,"col",17),Di(),Vi(34,"thead"),Vi(35,"tr"),Vi(36,"th"),Vi(37,"a",2),ji("click",function(e){return Ie(t),Li().updateSorting("name",e)}),Hi(38,"i",18),oo(39),Di(),Di(),Vi(40,"th",5),Vi(41,"a",2),ji("click",function(e){return Ie(t),Li().updateSorting("covered",e)}),Hi(42,"i",18),oo(43),Di(),Di(),Vi(44,"th",5),Vi(45,"a",2),ji("click",function(e){return Ie(t),Li().updateSorting("uncovered",e)}),Hi(46,"i",18),oo(47),Di(),Di(),Vi(48,"th",5),Vi(49,"a",2),ji("click",function(e){return Ie(t),Li().updateSorting("coverable",e)}),Hi(50,"i",18),oo(51),Di(),Di(),Vi(52,"th",5),Vi(53,"a",2),ji("click",function(e){return Ie(t),Li().updateSorting("total",e)}),Hi(54,"i",18),oo(55),Di(),Di(),Vi(56,"th",19),Vi(57,"a",2),ji("click",function(e){return Ie(t),Li().updateSorting("coverage",e)}),Hi(58,"i",18),oo(59),Di(),Di(),Oi(60,bh,4,6,"th",20),Oi(61,Ch,4,6,"th",20),Oi(62,wh,4,6,"th",21),Di(),Di(),Vi(63,"tbody"),Oi(64,Th,4,3,"ng-container",22),Di(),Di(),Di()}if(2&t){const t=Li();tr(4),lo(t.translations.collapseAll),tr(3),lo(t.translations.expandAll),tr(2),Si("ngIf",-1===t.settings.grouping),tr(1),Si("ngIf",0===t.settings.grouping),tr(1),Si("ngIf",t.settings.grouping>0),tr(2),ao(" ",t.translations.grouping," "),tr(1),Si("max",t.settings.groupingMaximum)("ngModel",t.settings.grouping),tr(2),Si("ngIf",t.historicCoverageExecutionTimes.length>0),tr(3),ao("",t.translations.filter," "),tr(1),Si("ngModel",t.settings.filter),tr(10),Si("ngIf",t.branchCoverageAvailable),tr(1),Si("ngIf",t.branchCoverageAvailable),tr(1),Si("ngIf",t.branchCoverageAvailable),tr(1),Si("ngIf",t.branchCoverageAvailable),tr(5),Si("ngClass",Il(31,mh,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),tr(1),lo(t.translations.name),tr(3),Si("ngClass",Il(35,mh,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),tr(1),lo(t.translations.covered),tr(3),Si("ngClass",Il(39,mh,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),tr(1),lo(t.translations.uncovered),tr(3),Si("ngClass",Il(43,mh,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),tr(1),lo(t.translations.coverable),tr(3),Si("ngClass",Il(47,mh,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),tr(1),lo(t.translations.total),tr(3),Si("ngClass",Il(51,mh,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),tr(1),lo(t.translations.coverage),tr(1),Si("ngIf",t.branchCoverageAvailable),tr(1),Si("ngIf",t.branchCoverageAvailable),tr(1),Si("ngIf",t.branchCoverageAvailable),tr(2),Si("ngForOf",t.codeElements)}}let Dh=(()=>{class t{constructor(t){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.codeElements=[],this.translations={},this.settings=new fu,this.window=t.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.translations=this.window.translations;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let t=0,e=this.window.assemblies;for(let n=0;n<e.length;n++)for(let s=0;s<e[n].classes.length;s++)t=Math.max(t,(e[n].classes[s].name.match(/\./g)||[]).length);this.settings.groupingMaximum=t,console.log("Grouping maximum: "+t)}const e=window.location.href.indexOf("?");e>-1&&(this.queryString=window.location.href.substr(e)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onDonBeforeUnlodad(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new du;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),e=this.window.assemblies,n=[],s=0;if(0===this.settings.grouping)for(let o=0;o<e.length;o++){let t=new vu(e[o].name,null);n.push(t);for(let n=0;n<e[o].classes.length;n++)t.insertClass(new yu(e[o].classes[n],this.queryString),null),s++}else if(-1===this.settings.grouping){let t=new vu(this.translations.all,null);n.push(t);for(let n=0;n<e.length;n++)for(let r=0;r<e[n].classes.length;r++)t.insertClass(new yu(e[n].classes[r],this.queryString),null),s++}else for(let o=0;o<e.length;o++){let t=new vu(e[o].name,null);n.push(t);for(let n=0;n<e[o].classes.length;n++)t.insertClass(new yu(e[o].classes[n],this.queryString),this.settings.grouping),s++}let r=-1,i=1;"name"===this.settings.sortBy&&(r="asc"===this.settings.sortOrder?-1:1,i="asc"===this.settings.sortOrder?1:-1),n.sort(function(t,e){return t.name===e.name?0:t.name<e.name?r:i}),vu.sortCodeElementViewModels(n,this.settings.sortBy,"asc"===this.settings.sortOrder);for(let o=0;o<n.length;o++)n[o].changeSorting(this.settings.sortBy,"asc"===this.settings.sortOrder);this.codeElements=n,console.log(`Processing assemblies finished (Duration: ${(new Date).getTime()-t}ms, Assemblies: ${n.length}, Classes: ${s})`),""!==this.settings.historyComparisionDate&&this.updateCurrentHistoricCoverage()}updateCurrentHistoricCoverage(){let t=(new Date).getTime();for(let e=0;e<this.codeElements.length;e++)this.codeElements[e].updateCurrentHistoricCoverage(this.settings.historyComparisionDate);console.log(`Updating current historic coverage finished (Duration: ${(new Date).getTime()-t}ms)`)}collapseAll(t){t.preventDefault();for(let e=0;e<this.codeElements.length;e++)this.codeElements[e].collapse()}expandAll(t){t.preventDefault();for(let e=0;e<this.codeElements.length;e++)this.codeElements[e].expand()}updateSorting(t,e){e.preventDefault(),this.settings.sortOrder=t===this.settings.sortBy&&"asc"===this.settings.sortOrder?"desc":"asc",this.settings.sortBy=t,console.log(`Updating sort column: '${this.settings.sortBy}' (${this.settings.sortOrder})`),vu.sortCodeElementViewModels(this.codeElements,this.settings.sortBy,"asc"===this.settings.sortOrder);for(let n=0;n<this.codeElements.length;n++)this.codeElements[n].changeSorting(this.settings.sortBy,"asc"===this.settings.sortOrder)}saveCollapseState(){this.settings.collapseStates=[];let t=e=>{for(let n=0;n<e.length;n++)this.settings.collapseStates.push(e[n].collapsed),t(e[n].subElements)};t(this.codeElements)}restoreCollapseState(){let t=0,e=n=>{for(let s=0;s<n.length;s++)this.settings.collapseStates.length>t&&(n[s].collapsed=this.settings.collapseStates[t]),t++,e(n[s].subElements)};e(this.codeElements)}}return t.\u0275fac=function(e){return new(e||t)(Ii(mu))},t.\u0275cmp=zt({type:t,selectors:[["coverage-info"]],hostBindings:function(t,e){1&t&&ji("beforeunload",function(){return e.onDonBeforeUnlodad()},!1,gs)},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,"overview","table-fixed","stripped"],[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,"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","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["codeelement-row","",3,"element","collapsed","branchCoverageAvailable",4,"ngIf"],["codeelement-row","",3,"element","collapsed","branchCoverageAvailable"],["class-row","",3,"clazz","translations","branchCoverageAvailable","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","branchCoverageAvailable","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","branchCoverageAvailable"],["class","namespace","class-row","",3,"clazz","translations","branchCoverageAvailable","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","branchCoverageAvailable","historyComparisionDate"]],template:function(t,e){1&t&&Oi(0,Vh,65,55,"div",0),2&t&&Si("ngIf",e.codeElements.length>0)},directives:[Na,eu,vc,Hc,Yc,Ta,Da,ru,iu,cu,Tu,ih],encapsulation:2}),t})();class Hh{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function Nh(t,e){if(1&t&&(Vi(0,"option",14),oo(1),Di()),2&t){const t=e.$implicit;Si("value",t),tr(1),lo(t)}}function Mh(t,e){1&t&&(Vi(0,"option",21),oo(1,"20"),Di())}function Ph(t,e){1&t&&(Vi(0,"option",22),oo(1,"50"),Di())}function Rh(t,e){1&t&&(Vi(0,"option",23),oo(1,"100"),Di())}function jh(t,e){if(1&t&&(Vi(0,"option",14),oo(1),Di()),2&t){const t=Li(3);Si("value",t.totalNumberOfRiskHotspots),tr(1),lo(t.translations.all)}}function zh(t,e){if(1&t){const t=Pi();Vi(0,"select",15),ji("ngModelChange",function(e){return Ie(t),Li(2).settings.numberOfRiskHotspots=e}),Vi(1,"option",16),oo(2,"10"),Di(),Oi(3,Mh,2,0,"option",17),Oi(4,Ph,2,0,"option",18),Oi(5,Rh,2,0,"option",19),Oi(6,jh,2,2,"option",20),Di()}if(2&t){const t=Li(2);Si("ngModel",t.settings.numberOfRiskHotspots),tr(3),Si("ngIf",t.totalNumberOfRiskHotspots>10),tr(1),Si("ngIf",t.totalNumberOfRiskHotspots>20),tr(1),Si("ngIf",t.totalNumberOfRiskHotspots>50),tr(1),Si("ngIf",t.totalNumberOfRiskHotspots>100)}}function Fh(t,e){1&t&&Hi(0,"col",24)}const Lh=function(t,e,n){return{"icon-up-dir_active":t,"icon-down-dir_active":e,"icon-down-dir":n}};function Bh(t,e){if(1&t){const t=Pi();Vi(0,"th"),Vi(1,"a",11),ji("click",function(n){Ie(t);const s=e.index;return Li(2).updateSorting(""+s,n)}),Hi(2,"i",12),oo(3),Di(),Vi(4,"a",25),Hi(5,"i",26),Di(),Di()}if(2&t){const t=e.$implicit,n=e.index,s=Li(2);tr(2),Si("ngClass",Il(3,Lh,s.settings.sortBy===""+n&&"desc"===s.settings.sortOrder,s.settings.sortBy===""+n&&"asc"===s.settings.sortOrder,s.settings.sortBy!==""+n)),tr(1),lo(t.name),tr(1),Bi("href",t.explanationUrl,as)}}const $h=function(t,e){return{lightred:t,lightgreen:e}};function Uh(t,e){if(1&t&&(Vi(0,"td",29),oo(1),Di()),2&t){const t=e.$implicit;Si("ngClass",Ol(2,$h,t.exceeded,!t.exceeded)),tr(1),lo(t.value)}}function Zh(t,e){if(1&t&&(Vi(0,"tr"),Vi(1,"td"),oo(2),Di(),Vi(3,"td"),Vi(4,"a",25),oo(5),Di(),Di(),Vi(6,"td",27),Vi(7,"a",25),oo(8),Di(),Di(),Oi(9,Uh,2,5,"td",28),Di()),2&t){const t=e.$implicit,n=Li(2);tr(2),lo(t.assembly),tr(2),Si("href",t.reportPath+n.queryString,as),tr(1),lo(t.class),tr(1),Si("title",t.methodName),tr(1),Si("href",t.reportPath+n.queryString+"#file"+t.fileIndex+"_line"+t.line,as),tr(1),ao(" ",t.methodShortName," "),tr(1),Si("ngForOf",t.metrics)}}function qh(t,e){if(1&t){const t=Pi();Vi(0,"div"),Vi(1,"div",1),Vi(2,"div"),Vi(3,"select",2),ji("ngModelChange",function(e){return Ie(t),Li().settings.assembly=e})("ngModelChange",function(){return Ie(t),Li().updateRiskHotpots()}),Vi(4,"option",3),oo(5),Di(),Oi(6,Nh,2,2,"option",4),Di(),Di(),Vi(7,"div",5),Vi(8,"span"),oo(9),Di(),Oi(10,zh,7,5,"select",6),Di(),Hi(11,"div",5),Vi(12,"div",7),Vi(13,"span"),oo(14),Di(),Vi(15,"input",8),ji("ngModelChange",function(e){return Ie(t),Li().settings.filter=e})("ngModelChange",function(){return Ie(t),Li().updateRiskHotpots()}),Di(),Di(),Di(),Vi(16,"table",9),Vi(17,"colgroup"),Hi(18,"col"),Hi(19,"col"),Hi(20,"col"),Oi(21,Fh,1,0,"col",10),Di(),Vi(22,"thead"),Vi(23,"tr"),Vi(24,"th"),Vi(25,"a",11),ji("click",function(e){return Ie(t),Li().updateSorting("assembly",e)}),Hi(26,"i",12),oo(27),Di(),Di(),Vi(28,"th"),Vi(29,"a",11),ji("click",function(e){return Ie(t),Li().updateSorting("class",e)}),Hi(30,"i",12),oo(31),Di(),Di(),Vi(32,"th"),Vi(33,"a",11),ji("click",function(e){return Ie(t),Li().updateSorting("method",e)}),Hi(34,"i",12),oo(35),Di(),Di(),Oi(36,Bh,6,7,"th",13),Di(),Di(),Vi(37,"tbody"),Oi(38,Zh,10,7,"tr",13),function(t,e){const n=Oe();let s;n.firstCreatePass?(s=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const s=e[n];if(t===s.name)return s}throw new st("302","The pipe 'slice' could not be found!")}("slice",n.pipeRegistry),n.data[59]=s,s.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(59,s.onDestroy)):s=n.data[59];const r=s.factory||(s.factory=se(s.type)),i=vt(Ii);try{const t=_n(!1),e=r();_n(t),function(t,e,n,s){59>=t.data.length&&(t.data[59]=null,t.blueprint[59]=null),e[59]=s}(n,Ae(),0,e)}finally{vt(i)}}(),Di(),Di(),Di()}if(2&t){const t=Li();tr(3),Si("ngModel",t.settings.assembly),tr(2),lo(t.translations.assembly),tr(1),Si("ngForOf",t.assemblies),tr(3),lo(t.translations.top),tr(1),Si("ngIf",t.totalNumberOfRiskHotspots>10),tr(4),ao("",t.translations.filter," "),tr(1),Si("ngModel",t.settings.filter),tr(6),Si("ngForOf",t.riskHotspotMetrics),tr(5),Si("ngClass",Il(20,Lh,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),tr(1),lo(t.translations.assembly),tr(3),Si("ngClass",Il(24,Lh,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),tr(1),lo(t.translations.class),tr(3),Si("ngClass",Il(28,Lh,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),tr(1),lo(t.translations.method),tr(1),Si("ngForOf",t.riskHotspotMetrics),tr(2),Si("ngForOf",function(t,e,n,s,r){const i=t+Qt,o=Ae(),l=function(t,e){return t[e]}(o,i);return function(t,e){return mi.isWrapped(e)&&(e=mi.unwrap(e),t[xe.lFrame.bindingIndex]=Xs),e}(o,function(t,e){return t[1].data[e].pure}(o,i)?Tl(o,Pe(),e,l.transform,n,s,r,l):l.transform(n,s,r))}(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let Wh=(()=>{class t{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Hh,this.window=t.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const t=window.location.href.indexOf("?");t>-1&&(this.queryString=window.location.href.substr(t)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let t=new du;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateRiskHotpots(){const t=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=t.length,0===this.assemblies.length){let e=[];for(let n=0;n<t.length;n++)-1===e.indexOf(t[n].assembly)&&e.push(t[n].assembly);this.assemblies=e.sort()}let e=[];for(let r=0;r<t.length;r++)""!==this.settings.filter&&-1===t[r].class.toLowerCase().indexOf(this.settings.filter)||""!==this.settings.assembly&&t[r].assembly!==this.settings.assembly||e.push(t[r]);let n="asc"===this.settings.sortOrder?-1:1,s="asc"===this.settings.sortOrder?1:-1;if("assembly"===this.settings.sortBy)e.sort(function(t,e){return t.assembly===e.assembly?0:t.assembly<e.assembly?n:s});else if("class"===this.settings.sortBy)e.sort(function(t,e){return t.class===e.class?0:t.class<e.class?n:s});else if("method"===this.settings.sortBy)e.sort(function(t,e){return t.methodShortName===e.methodShortName?0:t.methodShortName<e.methodShortName?n:s});else if(""!==this.settings.sortBy){let t=parseInt(this.settings.sortBy,10);e.sort(function(e,r){return e.metrics[t].value===r.metrics[t].value?0:e.metrics[t].value<r.metrics[t].value?n:s})}this.riskHotspots=e}updateSorting(t,e){e.preventDefault(),this.settings.sortOrder=t===this.settings.sortBy&&"asc"===this.settings.sortOrder?"desc":"asc",this.settings.sortBy=t,console.log(`Updating sort column: '${this.settings.sortBy}' (${this.settings.sortOrder})`),this.updateRiskHotpots()}}return t.\u0275fac=function(e){return new(e||t)(Ii(mu))},t.\u0275cmp=zt({type:t,selectors:[["risk-hotspots"]],hostBindings:function(t,e){1&t&&ji("beforeunload",function(){return e.onDonBeforeUnlodad()},!1,gs)},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,"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(t,e){1&t&&Oi(0,qh,40,32,"div",0),2&t&&Si("ngIf",e.totalNumberOfRiskHotspots>0)},directives:[Na,ru,Hc,Yc,iu,cu,Da,vc,Ta],pipes:[Ra],encapsulation:2}),t})(),Gh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=$t({type:t,bootstrap:[Wh,Dh]}),t.\u0275inj=at({providers:[mu],imports:[[dc,hu]]}),t})();(function(){if(fa)throw new Error("Cannot enable prod mode after platform setup.");da=!1})(),uc().bootstrapModule(Gh).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);